Skip to content

Commit b792840

Browse files
authored
Merge pull request #139 from dibenede/prepare-release
Prepare release
2 parents 828d150 + f6d56c9 commit b792840

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

WORKSPACE

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
44

55
http_archive(
66
name = "com_google_protobuf",
7-
strip_prefix = "protobuf-21.0-rc1",
8-
urls = ["https://github.com/protocolbuffers/protobuf/archive/refs/tags/v21.0-rc1.zip"],
7+
strip_prefix = "protobuf-21.3",
8+
urls = ["https://github.com/protocolbuffers/protobuf/archive/refs/tags/v21.3.zip"],
99
)
1010

1111
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "google-protobuf",
3-
"version": "3.21.0",
3+
"version": "3.21.1",
44
"description": "Protocol Buffers for JavaScript",
55
"main": "google-protobuf.js",
66
"files": [

protobuf_javascript_release.bzl

+13-12
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
"""
2-
Generates package naming variables for use with rules_pkg.
3-
"""
1+
"""Generates package naming variables for use with rules_pkg."""
42

53
load("@rules_pkg//:providers.bzl", "PackageVariablesInfo")
64
load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain")
75

8-
_PROTOBUF_JAVASCRIPT_VERSION = '3.21.0'
6+
_PROTOBUF_JAVASCRIPT_VERSION = "3.21.1"
7+
98

109
def _package_naming_impl(ctx):
1110
values = {}
@@ -37,15 +36,17 @@ def _package_naming_impl(ctx):
3736
else:
3837
values["platform"] = "unknown"
3938

40-
return PackageVariablesInfo(values = values)
39+
return PackageVariablesInfo(values=values)
4140

4241

4342
package_naming = rule(
44-
implementation = _package_naming_impl,
45-
attrs = {
46-
# Necessary data dependency for find_cpp_toolchain.
47-
"_cc_toolchain": attr.label(default = Label("@bazel_tools//tools/cpp:current_cc_toolchain")),
43+
implementation=_package_naming_impl,
44+
attrs={
45+
# Necessary data dependency for find_cpp_toolchain.
46+
"_cc_toolchain":
47+
attr.label(
48+
default=Label("@bazel_tools//tools/cpp:current_cc_toolchain")),
4849
},
49-
toolchains = ["@bazel_tools//tools/cpp:toolchain_type"],
50-
incompatible_use_toolchain_transition = True,
51-
)
50+
toolchains=["@bazel_tools//tools/cpp:toolchain_type"],
51+
incompatible_use_toolchain_transition=True,
52+
)

0 commit comments

Comments
 (0)