release/deploy-github: don't attempt to tag before deployment

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-04-21 14:00:33 +05:30
parent ec0d478b85
commit f7e405486f
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -3,7 +3,6 @@
trap 'exit 1' SIGINT SIGTERM
[ -z "$(command -v hub)" ] && { echo "hub not installed; aborting!"; exit 1; }
TAG="${1}"
hub tag -afs "${TAG:?}"
[ -z "${1}" ] && { echo "No tag specified!"; exit 1; }
gradle clean bundleRelease assembleRelease
hub release create "${TAG}" -a app/build/outputs/apk/release/app-release.apk