jmp-sim-manager/prepare_release.sh
Peter Cai 75132b917c
All checks were successful
/ build-debug (push) Successful in 4m23s
/ release (push) Successful in 4m1s
Prepare F-Droid release
2024-04-13 08:39:52 -04:00

14 lines
496 B
Bash
Executable file

#!/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."