Skip to content

Commit

Permalink
Fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
SamirMoustafa committed Mar 27, 2024
1 parent ccacd72 commit 4bab6a5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 21 deletions.
8 changes: 0 additions & 8 deletions .bumpversion.cfg

This file was deleted.

17 changes: 5 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,14 @@ jobs:
with:
python-version: "3.10"
- name: Install dependencies
run: python -m pip install --upgrade pip setuptools wheel twine bump2version
- name: Verify .bumpversion.cfg exists
run: |
if [ -f ".bumpversion.cfg" ]; then
echo ".bumpversion.cfg exists."
else
echo ".bumpversion.cfg does not exist, exiting..."
exit 1
fi
- name: Bump version and tag
run: |
bump2version patch --config-file .bumpversion.cfg --verbose
- name: Build and publish
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build package
run: |
python setup.py sdist bdist_wheel
- name: Upload to PyPI
run: |
python -m twine upload dist/*
env:
TWINE_USERNAME: __token__
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import find_packages, setup

__version__ = "0.1.0"
__version__ = "0.3.4"

install_requires = [
"torch>=1.13.1",
Expand Down

0 comments on commit 4bab6a5

Please sign in to comment.