From 30d73130efa3872ba55482de16233a85096136e3 Mon Sep 17 00:00:00 2001 From: Michael Isaev Date: Thu, 19 May 2022 14:46:45 -0400 Subject: [PATCH] Update protobuf version --- .bazelversion | 2 +- WORKSPACE | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.bazelversion b/.bazelversion index 0b2eb36..fae6e3d 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -3.7.2 +4.2.1 diff --git a/WORKSPACE b/WORKSPACE index 32e6e27..a69dea6 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -3,14 +3,14 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file" # rules_cc defines rules for generating C++ code from Protocol Buffers. # rules_proto defines abstract rules for building Protocol Buffers. -hash = "97d8af4" +release = "4.0.0" http_archive( name = "rules_proto", urls = [ - "https://github.com/bazelbuild/rules_proto/tarball/" + hash, + "https://github.com/bazelbuild/rules_proto/archive/refs/tags/" + release + ".tar.gz", ], type = "tar.gz", - strip_prefix = "bazelbuild-rules_proto-" + hash, + strip_prefix = "rules_proto-" + release, ) load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains") rules_proto_dependencies()