2019-12-15 21:49:18 +00:00
|
|
|
#!/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
|
2020-02-21 17:26:47 +00:00
|
|
|
hub release create "${TAG}" -a app/build/outputs/apk/release/app-release.apk
|