- 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