1# Releasing rules_java 2 31. Update version in [java/defs.bzl](/java/defs.bzl), 4 [MODULE.bazel](/MODULE.bazel) and merge it 52. Build the release running `bazel build //distro:rules_java-{version}` 63. Prepare release notes running `bazel build //distro:relnotes` 74. Create a new release on GitHub 85. Copy/paste the produced `relnotes.txt` into the notes. Adjust as needed. 96. Upload the produced tar.gz file as an artifact. 10