Skip to content
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.

Commit

Permalink
Add: make releases consistent across repos
Browse files Browse the repository at this point in the history
  • Loading branch information
bnmnetp committed Jul 30, 2022
1 parent 2cc111c commit 1d92781
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions makeRelease.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
set -e

if [ $# -eq 0 ]
then
echo "Usage: makeRelease <release no>"
exit
fi

while true; do
read -p "Did you update/commit the version in pyproject.toml " yn
case $yn in
[Yy]* ) break;;
[Nn]* ) exit;;
* ) echo "Please answer yes or no.";;
esac
done


echo "tagging this release and pushing to github"

git tag -a $1 -m 'tag new version'
git push --follow-tags

0 comments on commit 1d92781

Please sign in to comment.