Skip to content

Commit

Permalink
updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
HMUNACHI committed Jan 30, 2024
1 parent 2f10abe commit 4f78895
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ jobs:
run: |
echo "Setting version to: ${GITHUB_REF#refs/tags/}"
sed -i "s/version='.*',/version='${GITHUB_REF#refs/tags/}',/" setup.py
sed -i "s/__version__ = '.*'/__version__ = '${GITHUB_REF#refs/tags/}'/" nanodl/__init__.py
python setup.py sdist bdist_wheel
twine upload dist/*

0 comments on commit 4f78895

Please sign in to comment.