Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions distro/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ package(
default_visibility = ["//visibility:private"],
)

_VERSION = "7.6.0"

# Build the artifact to put on the github release page.
pkg_tar(
name = "rules_java-%s" % _VERSION,
name = "rules_java-%s" % module_version(),
srcs = ["//:distribution"],
extension = "tar.gz",
# It is all source code, so make it read-only.
Expand All @@ -27,5 +25,5 @@ print_rel_notes(
repo = "rules_java",
setup_file = "java:repositories.bzl",
toolchains_method = "rules_java_toolchains",
version = _VERSION,
version = module_version(),
)
3 changes: 1 addition & 2 deletions distro/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Releasing rules_java

1. Update version in [java/defs.bzl](/java/defs.bzl),
[MODULE.bazel](/MODULE.bazel) and merge it
1. Update version in [MODULE.bazel](/MODULE.bazel) and merge it
2. Build the release running `bazel build //distro:rules_java-{version}`
3. Prepare release notes running `bazel build //distro:relnotes`
4. Create a new release on GitHub
Expand Down