Skip to content

Commit

Permalink
Fix invalid version when deploying to PyPi
Browse files Browse the repository at this point in the history
  • Loading branch information
Anze committed Dec 12, 2019
1 parent cfdd025 commit 8099f0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
export VERSION=${GITHUB_REF_TAG:10:50}
echo "Version is $VERSION"
pip install --no-cache-dir twine pipenv wheel
sed -i "s/@@VERSION@@/$CI_COMMIT_TAG/g" ./setup.py
sed -i "s/@@VERSION@@/$VERSION/g" ./setup.py
pipenv lock -r > requirements.txt
python setup.py install
python setup.py sdist
Expand Down

0 comments on commit 8099f0e

Please sign in to comment.