release/deploy-github: fix tag parameter

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-04-23 13:09:03 +05:30
parent b0f312cd1e
commit a5437c480a
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -5,4 +5,4 @@ trap 'exit 1' SIGINT SIGTERM
[ -z "$(command -v hub)" ] && { echo "hub not installed; aborting!"; exit 1; }
[ -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
hub release create "${1}" -a app/build/outputs/apk/release/app-release.apk