From f7e405486f4aa092ae2b164703fd50149910e235 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 21 Apr 2020 14:00:33 +0530 Subject: release/deploy-github: don't attempt to tag before deployment Signed-off-by: Harsh Shandilya --- release/deploy-github.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/release/deploy-github.sh b/release/deploy-github.sh index c9b6339c..40fbb1d4 100755 --- a/release/deploy-github.sh +++ b/release/deploy-github.sh @@ -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 -- cgit v1.2.3