(we should be able to automate most of this eventually)
- Ensure main branch is green
git checkout -b release/v<VERSION>
- Push/track empty branch
- Create 2 PRs to bump version
[VERSION] Snapshot v<version>
points atmain
[VERSION] Release v<version>
points at new release branch- Update version in files:
build.gradle.kts
docs/CHANGELOG.md
- Fix any bugs on the
main
branch first then cherry-pick (via PR) into release branch
- Create new release with new tag on github (pointing to release branch)
- Release/Close new repo on sonatype
- We do not cut new release branches for hotfixes, instead we append to the effected release branch and add a new release tag
- All fixes (including hotfixes) should be applied to the
main
branch first whenever possible and cherry-picked onto the appropriate release-branch for a hotfix.