release/deploy-github: remove

Release artifacts are now delivered by CI

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-10-09 17:07:37 +05:30
parent 94a373e282
commit 419a490885
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -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"