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

Commit 1d92781

Browse files
committed
Add: make releases consistent across repos
1 parent 2cc111c commit 1d92781

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

makeRelease.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
set -e
2+
3+
if [ $# -eq 0 ]
4+
then
5+
echo "Usage: makeRelease <release no>"
6+
exit
7+
fi
8+
9+
while true; do
10+
read -p "Did you update/commit the version in pyproject.toml " yn
11+
case $yn in
12+
[Yy]* ) break;;
13+
[Nn]* ) exit;;
14+
* ) echo "Please answer yes or no.";;
15+
esac
16+
done
17+
18+
19+
echo "tagging this release and pushing to github"
20+
21+
git tag -a $1 -m 'tag new version'
22+
git push --follow-tags

0 commit comments

Comments
 (0)