- Make sure you're on the main branch.
- Change
VERSION_NAME
in root gradle.properties to a non-SNAPSHOT version. - Update README.md for the impending release.
- Update CHANGELOG.md for the impending release.
- Commit (don't push) the changes with message "Release x.y.z", where x.y.z is the new version.
- Tag the commit
x.y.z
, where x.y.z is the new version. - Change
VERSION_NAME
in root gradle.properties to the next SNAPSHOT version. - Commit the snapshot change.
- Push the 2 commits + 1 tag to origin/main.
- Wait for the "Release" Action to complete.
- Create the release on GitHub with release notes copied from the changelog.
If step 10 fails: drop the Sonatype repo, fix the problem, commit, and start again at step 6.