Skip to content

Latest commit

 

History

History
executable file
·
39 lines (38 loc) · 2.28 KB

RELEASING.md

File metadata and controls

executable file
·
39 lines (38 loc) · 2.28 KB

Automatic Releasing

  1. Create a branch bump/x.y.z
  2. Create a CHANGELOG.latest.md with the changes for the current version (to be used by Fastlane for the github release notes)
  3. Run fastlane bump_and_update_changelog version:X.Y.Z (where X.Y.Z is the new version) to update the version number in gradle.properties, Purchases.kt and in purchases/build.gradle
  4. Commit the changes git commit -am "Version X.Y.Z" (where X.Y.Z is the new version)
  5. Make a PR, merge when approved
  6. Pull main
  7. cd bin
  8. ./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.
  9. Visit Sonatype Nexus
  10. Click on Staging Repositories on the left side
  11. Scroll down to find the purchase repository
  12. Select and click "Close" from the top menu. Why is it called close?
  13. Once close is complete, repeat but this time selecting "Release"
  14. Make a PR for the snapshot bump, merge when approved
  15. Update the version in the Quickstart guide https://docs.revenuecat.com/docs/android

Manual Releasing

  1. Change the version in gradle.properties to a non-SNAPSHOT version.
  2. Change the version number in Purchases.kt
  3. Change the versionName in purchases/build.gradle.
  4. Update the CHANGELOG.md for the impending release.
  5. git commit -am "Prepare for release X.Y.Z." (where X.Y.Z is the new version)
  6. git tag -a X.Y.Z -m "Version X.Y.Z" (where X.Y.Z is the new version)
  7. git push && git push --tags
  8. Visit Sonatype Nexus.
  9. Click on Staging Repositories on the left side
  10. Scroll down to find the purchase repository
  11. Select and click "Close" from the top menu. Why is it called close?
  12. Once close is complete, repeat but this time selecting "Release"
  13. Update the gradle.properties to the next SNAPSHOT version.
  14. Change the version number in Purchases.kt
  15. Change the versionName in purchases/build.gradle.
  16. git commit -am "Prepare next development version."
  17. git push
  18. Update the version in the Quickstart guide https://docs.revenuecat.com/docs/android
  19. Create a Release in GitHub