summaryrefslogtreecommitdiff
path: root/release/deploy-github.sh
blob: 40fbb1d4db8970fab688205bf204b177cf16f5ef (about) (plain)
1
2
3
4
5
6
7
8
#!/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