script to tag commit with the version from poetry #11
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
git tag v$(poetry version -s)
|
||||
|
||||
read -p "push tag? " pushtag
|
||||
case $pushtag in
|
||||
n|no|N|NO)
|
||||
echo "not pushing!"
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
echo -n
|
||||
esac
|
||||
|
||||
echo git push --tags
|
Loading…
Reference in New Issue