Skip to content

Latest commit

 

History

History
12 lines (12 loc) · 1.43 KB

RELEASING.md

File metadata and controls

12 lines (12 loc) · 1.43 KB

Automatic Releasing

  1. Create a fastlane/.env file with your GitHub API token (see fastlane/.env.SAMPLE). This will be used to create the PR, so you should use your own token so the PR gets assigned to you.
  2. Run bundle exec fastlane bump
  3. Confirm base branch is correct
  4. Input new version number
  5. Update CHANGELOG.latest.md to include the latest changes. Call out API changes (if any). You can use the existing CHANGELOG.md as a base for formatting. To compile the changelog, you can compare the changes between the base branch for the release (usually main) against the latest release, by checking https://github.com/revenuecat/purchases-unity/compare/<latest_release>...<base_branch>. For example, https://github.com/revenuecat/purchases-unity/compare/4.1.0...main.
  6. A new branch and PR will automatically be created
  7. Wait until PR is approved (don't merge yet)
  8. When the PR is approved, approve the hold job created in CircleCI. CircleCI will create a tag for the version. Alternatively, you can tag the last commit in the release branch and push it to the repository.
  9. The rest will be performed automatically by CircleCI. If the automation fails, you can run the scripts/create-unity-package.sh manually to create the packages and create a github release manually and add the resulting unitypackage files.
  10. After that, you can merge the release PR to main and merge the bump to the next snapshot version PR right after.