aboutsummaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-04-21 14:00:33 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2020-04-21 18:39:02 +0530
commitf7e405486f4aa092ae2b164703fd50149910e235 (patch)
tree86821ab276df5dfd262156d1d5949adb690e364d /release
parentec0d478b85859150db4b4d437fafb8c928eeda25 (diff)
release/deploy-github: don't attempt to tag before deployment
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'release')
-rwxr-xr-xrelease/deploy-github.sh3
1 files changed, 1 insertions, 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