From 31bcecfd5d8622b123447a9403b18e40cce086c6 Mon Sep 17 00:00:00 2001 From: Stephanie DiBenedetto Date: Fri, 9 Jan 2026 17:00:45 +0000 Subject: [PATCH 1/2] Tweak source archive URL for BCR publish workflow The workflow is currently using an URL that resembles cross-compiled protoc-gen-js zips without architecture info. Swap to using the URL for the zips. --- .bcr/source.template.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bcr/source.template.json b/.bcr/source.template.json index 7dd7b58..98e56d1 100644 --- a/.bcr/source.template.json +++ b/.bcr/source.template.json @@ -1,5 +1,5 @@ { "integrity": "", "strip_prefix": "{REPO}-{TAG}", - "url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/{REPO}-{TAG}.tar.gz" -} \ No newline at end of file + "url": "https://github.com/{OWNER}/{REPO}/archive/refs/tags/{TAG}.tar.gz" +} From 525709cbac6d5563ffeed5a48be477a054e55414 Mon Sep 17 00:00:00 2001 From: Stephanie DiBenedetto Date: Fri, 9 Jan 2026 17:04:48 +0000 Subject: [PATCH 2/2] Bump version to v4.0.2-rc2 or testing BCR workflow --- MODULE.bazel | 2 +- conformance/package.json | 2 +- package.json | 2 +- protobuf_javascript_release.bzl | 2 +- protoc_plugin/package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 8c3a3b7..8e96e2e 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -1,6 +1,6 @@ "Bazel module that provides protoc-gen-js." -module(name = "protobuf_javascript", version = "4.0.2-rc1") # updated by release action +module(name = "protobuf_javascript", version = "4.0.2-rc2") # updated by release action bazel_dep(name = "abseil-cpp", version = "20250512.1") bazel_dep(name = "protobuf", version = "33.0", repo_name = "com_google_protobuf") diff --git a/conformance/package.json b/conformance/package.json index 1508c75..a8b4548 100644 --- a/conformance/package.json +++ b/conformance/package.json @@ -11,7 +11,7 @@ "LICENSE.md" ], "dependencies": { - "google-protobuf": "file:../google-protobuf-4.0.2-rc1.tgz" + "google-protobuf": "file:../google-protobuf-4.0.2-rc2.tgz" }, "author": "Google Protocol Buffers Team", "license": "BSD-3-Clause" diff --git a/package.json b/package.json index 2e280bc..db069ed 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "google-protobuf", - "version": "4.0.2-rc1", + "version": "4.0.2-rc2", "description": "Protocol Buffers for JavaScript", "main": "google-protobuf.js", "files": [ diff --git a/protobuf_javascript_release.bzl b/protobuf_javascript_release.bzl index da77474..14c3678 100644 --- a/protobuf_javascript_release.bzl +++ b/protobuf_javascript_release.bzl @@ -3,7 +3,7 @@ load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain") load("@rules_pkg//pkg:providers.bzl", "PackageVariablesInfo") -_PROTOBUF_JAVASCRIPT_VERSION = "4.0.2-rc1" +_PROTOBUF_JAVASCRIPT_VERSION = "4.0.2-rc2" def _package_naming_impl(ctx): values = {} diff --git a/protoc_plugin/package.json b/protoc_plugin/package.json index 2d3bf80..d05aac1 100644 --- a/protoc_plugin/package.json +++ b/protoc_plugin/package.json @@ -1,6 +1,6 @@ { "name": "@protocolbuffers/protoc-gen-js", - "version": "4.0.2-rc1", + "version": "4.0.2-rc2", "description": "Official standalone distribution of the protoc-gen-js plugin for Protocol Buffers", "author": "Google Protocol Buffers Team", "license": "BSD-3-Clause",