- Update version in MODULE.bazel and merge it
- Build the release running
bazel build //distro:rules_java-{version}
- Prepare release notes running
bazel build //distro:relnotes
- Create a new release on GitHub
- Copy/paste the produced
relnotes.txt
into the notes. Adjust as needed. - Upload the produced tar.gz file as an artifact.
Note: Steps 2-6 have been automated. Trigger a new build of the rules_java release pipeline. Set the message to "rules_java [version]" (or anything else), and leave the commit and branch fields as is.
A new release will be created here -- edit the description as needed. A PR will be submitted against the bazel-central-registry repo.
rules_java 6.5.0 example: