Setup snapshot deployment (#599)

* 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>
This commit is contained in:
Harsh Shandilya 2019-12-16 03:19:18 +05:30 committed by GitHub
parent 3a7c541360
commit e61551bf37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 129 additions and 28 deletions

9
release/deploy-github.sh Executable file
View file

@ -0,0 +1,9 @@
#!/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