Android-Password-Store/release/deploy-github.sh
Harsh Shandilya f7e405486f
release/deploy-github: don't attempt to tag before deployment
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-21 18:39:02 +05:30

8 lines
305 B
Bash
Executable file

#!/usr/bin/env bash
trap 'exit 1' SIGINT SIGTERM
[ -z "$(command -v hub)" ] && { echo "hub not installed; aborting!"; exit 1; }
[ -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