mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 10:37:05 +05:30
feat(release): add script to make a release
This commit is contained in:
parent
204a3c0bb5
commit
5329b6e3aa
1 changed files with 17 additions and 0 deletions
17
scripts/make-release.sh
Normal file
17
scripts/make-release.sh
Normal 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/*
|
Loading…
Add table
Add a link
Reference in a new issue