From 97b1ca5b698404a02160c4deaa8c23c7507eb523 Mon Sep 17 00:00:00 2001 From: Derek Perez Date: Tue, 28 May 2024 17:53:41 -0700 Subject: [PATCH] Updating to buf CLI 1.32.2 --- README.md | 2 +- buf/extensions.bzl | 6 +++--- buf/internal/toolchain.bzl | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5e45a21..3cfa589 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ load("@rules_buf//buf:repositories.bzl", "rules_buf_dependencies", "rules_buf_to rules_buf_dependencies() -rules_buf_toolchains(version = "v1.32.1") +rules_buf_toolchains(version = "v1.32.2") # rules_proto load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains") diff --git a/buf/extensions.bzl b/buf/extensions.bzl index 8919a12..8447f97 100644 --- a/buf/extensions.bzl +++ b/buf/extensions.bzl @@ -16,11 +16,11 @@ See https://bazel.build/docs/bzlmod#extension-definition """ -load("//buf/internal:toolchain.bzl", "buf_download_releases") load("//buf/internal:repo.bzl", "buf_dependencies") +load("//buf/internal:toolchain.bzl", "buf_download_releases") -_DEFAULT_VERSION = "v1.28.1" -_DEFAULT_SHA256 = "05dfb45d2330559d258e1230f5a25e154f0a328afda2a434348b5ba4c124ece7" +_DEFAULT_VERSION = "v1.32.2" +_DEFAULT_SHA256 = "07d5c65f8c76bb25b6cb1a3cd86aa76c907cfcf27875f25b0eeb34b2f6b1c312" _DEFAULT_TOOLCHAIN_NAME = "rules_buf_toolchains" _DEFAULT_DEPS = "buf_deps" diff --git a/buf/internal/toolchain.bzl b/buf/internal/toolchain.bzl index 0866f3f..0270634 100644 --- a/buf/internal/toolchain.bzl +++ b/buf/internal/toolchain.bzl @@ -145,7 +145,7 @@ def _buf_download_releases_impl(ctx): ctx.report_progress("Downloading " + bin) url = "{}/{}/{}".format(repository_url, version, bin) - download_info = ctx.download( + ctx.download( url = url, sha256 = sum, executable = True,