Skip to content

Commit 2dde2eb

Browse files
committed
add MODULE.bazel and licenses to BCR package, bump pre-release version
While the traditional dist tarball includes MODULE.bazel, it has an architecture specific name that is inappropriate for BCR. The tar'd javascript filegroup is closer to what we want, but the release process fails when it doesn't find MODULE.bazel. This change just splits the difference and adds MODULE.bazel to the javascript filegroup.
1 parent edcf435 commit 2dde2eb

File tree

7 files changed

+116
-6
lines changed

7 files changed

+116
-6
lines changed

BUILD.bazel

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ filegroup(
143143
"map.js",
144144
"message.js",
145145
"unsafe_bytestring.js",
146+
] + [
147+
"MODULE.bazel",
148+
"LICENSE.md",
149+
"LICENSE-asserts.md",
146150
],
147151
visibility = ["//visibility:public"],
148152
)

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"Bazel module that provides protoc-gen-js."
22

3-
module(name = "protobuf_javascript", version = "4.0.2-rc5") # updated by release action
3+
module(name = "protobuf_javascript", version = "4.0.2-rc6") # updated by release action
44

55
bazel_dep(name = "abseil-cpp", version = "20250512.1")
66
bazel_dep(name = "protobuf", version = "33.0", repo_name = "com_google_protobuf")

MODULE.bazel.lock

Lines changed: 107 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

conformance/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"LICENSE.md"
1212
],
1313
"dependencies": {
14-
"google-protobuf": "file:../google-protobuf-4.0.2-rc5.tgz"
14+
"google-protobuf": "file:../google-protobuf-4.0.2-rc6.tgz"
1515
},
1616
"author": "Google Protocol Buffers Team",
1717
"license": "BSD-3-Clause"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "google-protobuf",
3-
"version": "4.0.2-rc5",
3+
"version": "4.0.2-rc6",
44
"description": "Protocol Buffers for JavaScript",
55
"main": "google-protobuf.js",
66
"files": [

protobuf_javascript_release.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain")
44
load("@rules_pkg//pkg:providers.bzl", "PackageVariablesInfo")
55

6-
_PROTOBUF_JAVASCRIPT_VERSION = "4.0.2-rc5"
6+
_PROTOBUF_JAVASCRIPT_VERSION = "4.0.2-rc6"
77

88
def _package_naming_impl(ctx):
99
values = {}

protoc_plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@protocolbuffers/protoc-gen-js",
3-
"version": "4.0.2-rc5",
3+
"version": "4.0.2-rc6",
44
"description": "Official standalone distribution of the protoc-gen-js plugin for Protocol Buffers",
55
"author": "Google Protocol Buffers Team",
66
"license": "BSD-3-Clause",

0 commit comments

Comments
 (0)