diff options
Diffstat (limited to 'release/deploy-github.sh')
-rwxr-xr-x | release/deploy-github.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/release/deploy-github.sh b/release/deploy-github.sh deleted file mode 100755 index 9480604b..00000000 --- a/release/deploy-github.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash -set -ex - -trap 'exit 1' SIGINT SIGTERM - -[ -z "$(command -v hub)" ] && { echo "hub not installed; aborting!"; exit 1; } -[ -z "${1}" ] && { echo "No tag specified!"; exit 1; } -prev_ref="$(git rev-parse --abbrev-ref HEAD)" -git checkout "${1}" || exit 1 -gradle clean bundleRelease assembleRelease -hub release create "${1}" -a app/build/outputs/apk/release/app-release.apk -git checkout "$prev_ref" |