Prepare F-Droid release
All checks were successful
/ build-debug (push) Successful in 4m23s
/ release (push) Successful in 4m1s

This commit is contained in:
Peter Cai 2024-04-13 08:39:52 -04:00
parent ee1cdc8433
commit 75132b917c
3 changed files with 16 additions and 0 deletions

1
LAST_RELEASE_VERCODE Normal file
View file

@ -0,0 +1 @@
272

View file

@ -0,0 +1 @@
Initial public release of JMP SIM Manager.

14
prepare_release.sh Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -e
new_version=$(($(git rev-list --first-parent --count HEAD) + 1))
echo "New version code will be: ${new_version}"
echo "${new_version}" > ./LAST_RELEASE_VERCODE
changelog_path="./fastlane/metadata/android/en-US/changelogs"
mkdir -p ${changelog_path}
changelog_file="${changelog_path}/${new_version}.txt"
echo "Creating new changelog: ${changelog_file}"
touch "${changelog_file}"
echo "Please populate the changelog above, then create ONE commit, and tag the release."