e61551bf37
* Setup snapshot deployment * README: Update repository links * README: Update workflow badge link * README: Add link to Snapshot builds * Fix snapshot/pull-request build conflict * Deploy from feature/deploy-snapshots as well * Revert "Deploy from feature/deploy-snapshots as well" Confirmed it works well This reverts commit 06f6bc0e8c19f238643655d09ca20f83dd416283. Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
9 lines
286 B
Bash
Executable file
9 lines
286 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
trap 'exit 1' SIGINT SIGTERM
|
|
|
|
[ -z "$(command -v hub)" ] && { echo "hub not installed; aborting!"; exit 1; }
|
|
TAG="${1}"
|
|
hub tag -afs "${TAG:?}"
|
|
gradle clean bundleRelease assembleRelease
|
|
hub release create "${TAG}" -a app/build/outputs/apk/release/aps_"${TAG}".apk
|