Releasing
Each release corresponds to a GitHub milestone (for example v1.3.0).
- Prepare. All issues in the milestone are closed or moved to the next one. The CI builds on
vX.Y-DEVare green.docs/is up to date (run./update-docs.shif any triplifier annotations changed). - Release candidate (optional). Create a GitHub release with tag
vX.Y.Z-RC1onvX.Y-DEV, marked as pre-release. Write the notes for the community: what to test, notable changes, and install instructions for the CLI jar, the server jar and the Maven dependency. - Close the milestone.
draft-release.ymlcreates a draft release listing the milestone's issues. - Edit the draft. Set the tag to
vX.Y.ZonvX.Y-DEVand review the notes. - Publish. Publishing the release triggers:
publish_to_mvn-central.yml: deploys to Maven Central with-Drevision=X.Y.Z(the tag without the leadingv), signing with the project GPG key (-DperformRelease=trueactivates therelease-and-sign-artifactsprofile);docker-image.yml: builds and pushes the Docker image and attaches the jars to the release.
- Check. The artifacts are on Maven Central, the jars are attached to the release, the Docker image is on Docker Hub, and Read the Docs shows the release version.
- Start the next development cycle (see commit
6290130ffor an example):- create the branch
vX.(Y+1)-DEVand set it as the default branch on GitHub; - update the branch filters in the workflows (
build_on_maven_java21*.yml,codeql-analysis.yml), the badges inREADME.mdanddocs/README.md, andedit_uriinmkdocs.yml; - bump
<revision>in the rootpom.xmltoX.(Y+1).0-SNAPSHOT; - activate the new branch as a version on Read the Docs.
- create the branch
Secrets used by the release workflows: OSSRH_USERNAME, OSSRH_TOKEN, OSSRH_GPG_SECRET_KEY, OSSRH_GPG_SECRET_KEY_PASSWORD, DOCKER_USERNAME, DOCKER_PASSWORD. The repository variable DOCKER_REPO is also required.