From c576d2c91ebb99c0f939e1c239f79f08da6ac657 Mon Sep 17 00:00:00 2001 From: Ivo List Date: Fri, 4 Nov 2022 16:44:47 +0100 Subject: [PATCH 1/2] Add MODULE file to the release. --- BUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/BUILD b/BUILD index 8401117..1daa47d 100644 --- a/BUILD +++ b/BUILD @@ -8,6 +8,7 @@ filegroup( "AUTHORS", "BUILD", "LICENSE", + "MODULE.bazel", "//java:srcs", "//toolchains:srcs", ], From 3d36f1de109b78d95fbba1115c32fb588d76515d Mon Sep 17 00:00:00 2001 From: Ivo List Date: Sun, 6 Nov 2022 21:19:50 +0100 Subject: [PATCH 2/2] Version bump and release fixes --- .bcr/source.template.json | 2 +- MODULE.bazel | 2 +- java/defs.bzl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.bcr/source.template.json b/.bcr/source.template.json index 4f14819..e23e6ca 100644 --- a/.bcr/source.template.json +++ b/.bcr/source.template.json @@ -1,5 +1,5 @@ { "integrity": "", "strip_prefix": "{REPO}-{VERSION}", - "url": "https://github.com/{OWNER}/{REPO}/archive/refs/tags/{TAG}.tar.gz" + "url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/rules_java-{TAG}.tar.gz" } diff --git a/MODULE.bazel b/MODULE.bazel index 02e7711..21e1108 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -1,7 +1,7 @@ module( name = "rules_java", compatibility_level = 1, - version = "5.3.2", + version = "5.3.3", ) bazel_dep(name = "platforms", version = "0.0.4") diff --git a/java/defs.bzl b/java/defs.bzl index 92878f5..5f7d873 100644 --- a/java/defs.bzl +++ b/java/defs.bzl @@ -18,7 +18,7 @@ load("//java/private:native.bzl", "NativeJavaInfo", "NativeJavaPluginInfo", "nat # Do not touch: This line marks the end of loads; needed for PR importing. _MIGRATION_TAG = "__JAVA_RULES_MIGRATION_DO_NOT_USE_WILL_BREAK__" -version = "5.3.2" +version = "5.3.3" def _add_tags(attrs): if "tags" in attrs and attrs["tags"] != None: