Skip to content

Commit edcf435

Browse files
authored
Switch BCR release workflow javascript source tarball, bump version (protocolbuffers#271)
Switch BCR release workflow javascript source tarball, bump version
1 parent 34756fc commit edcf435

File tree

7 files changed

+17
-7
lines changed

7 files changed

+17
-7
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
release:
2323
uses: bazel-contrib/.github/.github/workflows/[email protected]
2424
with:
25-
bazel_test_command: "bazel build //:dist_tar"
25+
bazel_test_command: "bazel build //:bcr_dist_tar"
2626
prerelease: false
27-
release_files: protobuf-javascript-*.tar.gz
27+
release_files: "bazel-bin/protobuf-javascript-*.tar.gz"
2828
tag_name: ${{ inputs.tag_name || github.ref_name }}
2929
secrets: inherit
3030
publish:

BUILD.bazel

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,16 @@ pkg_tar(
8181
package_variables = ":protobuf_javascript_pkg_naming",
8282
)
8383

84+
pkg_tar(
85+
name = "bcr_dist_tar",
86+
srcs = [
87+
":javascript",
88+
],
89+
extension = "tar.gz",
90+
package_file_name = "protobuf-javascript-{version}.tar.gz",
91+
package_variables = ":protobuf_javascript_pkg_naming",
92+
)
93+
8494
pkg_zip(
8595
name = "dist_zip",
8696
srcs = [

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-rc4") # updated by release action
3+
module(name = "protobuf_javascript", version = "4.0.2-rc5") # 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-rc4.tgz"
14+
"google-protobuf": "file:../google-protobuf-4.0.2-rc5.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-rc4",
3+
"version": "4.0.2-rc5",
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-rc4"
6+
_PROTOBUF_JAVASCRIPT_VERSION = "4.0.2-rc5"
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-rc4",
3+
"version": "4.0.2-rc5",
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)