- Create a branch bump/x.y.z
- Create a CHANGELOG.latest.md with the changes for the current version (to be used by Fastlane for the github release notes)
- Run
fastlane bump_and_update_changelog version:X.Y.Z
(where X.Y.Z is the new version) to update the version number ingradle.properties
,Purchases.kt
and inpurchases/build.gradle
- Commit the changes
git commit -am "Version X.Y.Z"
(where X.Y.Z is the new version) - Make a PR, merge when approved
- Pull main
- cd bin
./release_version.sh -c x.y.z -n a.b.c
, where a.b.c will be the next release after this one. If you're releasing version 3.0.2, for example, this would be ./release_version.sh -c 3.0.2 -n 3.1.0. This will do all of the other steps in the manual process.- Visit Sonatype Nexus
- Click on Staging Repositories on the left side
- Scroll down to find the purchase repository
- Select and click "Close" from the top menu. Why is it called close?
- Once close is complete, repeat but this time selecting "Release"
- Make a PR for the snapshot bump, merge when approved
- Update the version in the Quickstart guide https://docs.revenuecat.com/docs/android
- Change the version in
gradle.properties
to a non-SNAPSHOT version. - Change the version number in
Purchases.kt
- Change the versionName in
purchases/build.gradle
. - Update the
CHANGELOG.md
for the impending release. git commit -am "Prepare for release X.Y.Z."
(where X.Y.Z is the new version)git tag -a X.Y.Z -m "Version X.Y.Z"
(where X.Y.Z is the new version)git push && git push --tags
- Visit Sonatype Nexus.
- Click on Staging Repositories on the left side
- Scroll down to find the purchase repository
- Select and click "Close" from the top menu. Why is it called close?
- Once close is complete, repeat but this time selecting "Release"
- Update the
gradle.properties
to the next SNAPSHOT version. - Change the version number in Purchases.kt
- Change the versionName in purchases/build.gradle.
git commit -am "Prepare next development version."
git push
- Update the version in the Quickstart guide https://docs.revenuecat.com/docs/android
- Create a Release in GitHub