Skip to content

Commit 7d64c8d

Browse files
committed
Add placeholder google-protobuf.js file to fix missing input
Release workflow currently errors out with `//:dist_files: missing input file '//:google-protobuf.js'` because we normally only generate it as part of the cross-compiled binary and npm releases. However, this seems to be causing problems for the BCR release process because the build target is broken without it. This change just adds a placeholder file to smooth things over.
1 parent b784079 commit 7d64c8d

File tree

6 files changed

+7
-5
lines changed

6 files changed

+7
-5
lines changed

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-rc2") # updated by release action
3+
module(name = "protobuf_javascript", version = "4.0.2-rc3") # 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")

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-rc2.tgz"
14+
"google-protobuf": "file:../google-protobuf-4.0.2-rc3.tgz"
1515
},
1616
"author": "Google Protocol Buffers Team",
1717
"license": "BSD-3-Clause"

google-protobuf.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Placeholder to ensure //:dist_files has all inputs.
2+
// Run `npm run build` to generate

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-rc2",
3+
"version": "4.0.2-rc3",
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-rc2"
6+
_PROTOBUF_JAVASCRIPT_VERSION = "4.0.2-rc3"
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-rc2",
3+
"version": "4.0.2-rc3",
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)