added release tag script

This will make it easier to tag releases in a consistent way
This commit is contained in:
Kevin Gorham 2018-11-14 16:16:51 -05:00
parent 6b3e99b71d
commit f36bd9d6c5
1 changed files with 9 additions and 0 deletions

9
tag-release.sh Executable file
View File

@ -0,0 +1,9 @@
#! /bin/bash
echo git tag -a \"v$(grep -oE 'versionName.*' zcash-android-wallet-app/app/build.gradle | sed 's/[^0-9]*\([0-9].*\w\).*/\1/')\" -m \""Released on $(date)"\"
echo
echo "Press ENTER to tag the release as above. Press CTRL+C to cancel."
read
git tag -a v$(grep -oE 'versionName.*' zcash-android-wallet-app/app/build.gradle | sed 's/[^0-9]*\([0-9].*\w\).*/\1/') -m "Release on $(date)"