- Change the version in
gradle.properties
to a non-SNAPSHOT version. - Update the
README.md
to reflect the new version number. - Update the
CHANGELOG.md
for the impending release. - Create a pull request with the stable version number and merge it to trigger CI to deploy the release.
- Pull the latest code from
main
. - Tag the release with
git tag -a X.Y.Z -m "Version X.Y.Z"
(where X.Y.Z is the new version) - Push the tag
git push origin X.Y.Z
- Create a new release from the new tag at https://github.com/square/invert/releases
- Checkout a new branch from main.
- Update the
gradle.properties
to the next SNAPSHOT version. - Create a PR to update to the new SNAPSHOT version and merge it.