update the release script

This commit is contained in:
Zach White
2020-12-02 10:34:35 -08:00
parent d163222123
commit 6b0d5fe85b
2 changed files with 13 additions and 0 deletions
+11
View File
@@ -12,6 +12,17 @@ TWINE_USERNAME=$PYPI_USERNAME
export FLIT_USERNAME TWINE_USERNAME
if ! bumpversion -h &> /dev/null; then
echo "Missing bumpversion! Please run: pip3 install -U -r requirements-dev.txt"
exit 1
fi
if ! twine -h &> /dev/null; then
echo "Missing twine! Please run: pip3 install -U -r requirements-dev.txt"
exit 1
fi
# Bump the version, tag, and push
rm -f dist/*
bumpversion patch
git push origin master --tags
+2
View File
@@ -0,0 +1,2 @@
bumpversion
twine