- Start a branch
release/x.x.x
- Update to the latest SDK versions in ios/purchases_flutter.podspec, mac/purchases_flutter.podspec and build.gradle.
- Run
flutter format .
- Update versions in VERSIONS.md.
- Update CHANGELOG-LATEST.md with the changes for the current version (to be used by Fastlane for the github release notes)
- Run
bundle exec fastlane bump_and_update_changelog version:X.Y.Z
(where X.Y.Z is the new version) to update the version number in pubspec.yaml, purchases_flutter.podspec and android/build.gradle. flutter pub pub publish --dry-run
- Commit the changes, open a PR, merge when ready
git tag x.y.z
git push origin master && git push --tags
- Create a new release in github and upload
flutter pub pub publish