release/deploy-github: don't attempt to tag before deployment
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
ec0d478b85
commit
f7e405486f
1 changed files with 1 additions and 2 deletions
|
@ -3,7 +3,6 @@
|
||||||
trap 'exit 1' SIGINT SIGTERM
|
trap 'exit 1' SIGINT SIGTERM
|
||||||
|
|
||||||
[ -z "$(command -v hub)" ] && { echo "hub not installed; aborting!"; exit 1; }
|
[ -z "$(command -v hub)" ] && { echo "hub not installed; aborting!"; exit 1; }
|
||||||
TAG="${1}"
|
[ -z "${1}" ] && { echo "No tag specified!"; exit 1; }
|
||||||
hub tag -afs "${TAG:?}"
|
|
||||||
gradle clean bundleRelease assembleRelease
|
gradle clean bundleRelease assembleRelease
|
||||||
hub release create "${TAG}" -a app/build/outputs/apk/release/app-release.apk
|
hub release create "${TAG}" -a app/build/outputs/apk/release/app-release.apk
|
||||||
|
|
Loading…
Reference in a new issue