feat(release): add script to make a release

This commit is contained in:
Harsh Shandilya 2022-10-17 12:27:15 +05:30
parent 204a3c0bb5
commit 5329b6e3aa
No known key found for this signature in database

17
scripts/make-release.sh Normal file
View file

@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -euxo pipefail
gradle -q clearPreRelease
VERSION="$(tail -n1 android/version.properties | cut -d = -f 2)"
git commit -am 'feat(release): bump version'
gradle -q collectReleaseApks collectReleaseBundle
gradle -q bumpSnapshot
git commit -am 'feat(release): start next development iteration'
gh release create "v${VERSION}" ./android/outputs/*