Skip to content

Commit

Permalink
Make sure we don't forget to add version.txt when using the relase sc…
Browse files Browse the repository at this point in the history
…ript
  • Loading branch information
klieret committed Apr 19, 2019
1 parent 7dd18e1 commit 2bdfe04
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ rm -rf "dist/"
version=$(cat ankipandas/version.txt)
echo "Version is: " $version

# just to be sure we don't forget to commit it
git add ankipanas/version.txt

python3 setup.py sdist bdist_wheel
python3 -m twine upload --verbose --repository-url https://upload.pypi.org/legacy/ dist/*
git tag -a "v${version}" -m "Release version ${version}"
Expand Down

0 comments on commit 2bdfe04

Please sign in to comment.