Android-Password-Store/release/deploy-github.sh
Harsh Shandilya 5c3ee3fdbf release/deploy-github: Fix release step
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-21 23:01:54 +05:30

9 lines
285 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/app-release.apk