- Make sure
developis release-ready (features/fixes merged, CI green). - Run the Pre-Release Sync workflow (manual dispatch) → merges
developintomain. - On
main, bump the version in the differentpom.xmlfiles and commit/push. This ensures the tag/release created next points straight at the right commit. - Review/edit the auto-generated draft release notes (Release Drafter, on the Releases tab).
- Create a GitHub Release on
main, taggedvX.Y.Z. The tag now points at the version-bump commit from step 3. - Publish the release → Release and Publish to Maven Central workflow runs automatically.
- Verify: workflow succeeded, artifacts show up on Maven Central under
io.github.jolt-community, jars attached to the GitHub Release. - Run the Post-Release Sync workflow (manual dispatch) → merges
mainback intodevelop.
Source: jolt-community discussion #23 (adapted: version bump moved before tag/release creation instead of after, to avoid deleting/recreating the tag)