improve release script usability

This commit is contained in:
haven1433 2023-12-14 09:16:36 -06:00
parent cc19aaf818
commit b2ba2174a9

View File

@ -1,4 +1,13 @@
if [ -z $1 ]; then
echo "Do one of these:"
echo "./releash.sh build"
echo "./releash.sh update"
echo "./releash.sh minor"
echo "./releash.sh major"
exit
fi
version=`python -m bump $1`
git commit -a -m "version bump"
git tag v$version