From 8a53fdf06d2a2b84191f3574115daed008ccdd1d Mon Sep 17 00:00:00 2001 From: Mahmood Ali Date: Sun, 31 Jan 2021 20:09:15 -0500 Subject: [PATCH 1/2] lint: Upgrade buf to 0.36.0, latest so far --- GNUmakefile | 2 +- scripts/vagrant-linux-priv-buf.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 617530860..1325e488c 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -125,7 +125,7 @@ check: ## Lint the source code @misspell -error -source=text website/pages/ @echo "==> Checking for breaking changes in protos..." - @buf check breaking --config tools/buf/buf.yaml --against-config tools/buf/buf.yaml --against .git#tag=$(PROTO_COMPARE_TAG) + @buf breaking --config tools/buf/buf.yaml --against-config tools/buf/buf.yaml --against .git#tag=$(PROTO_COMPARE_TAG) @echo "==> Check proto files are in-sync..." @$(MAKE) proto diff --git a/scripts/vagrant-linux-priv-buf.sh b/scripts/vagrant-linux-priv-buf.sh index d28212525..281df77e5 100755 --- a/scripts/vagrant-linux-priv-buf.sh +++ b/scripts/vagrant-linux-priv-buf.sh @@ -3,7 +3,7 @@ set -o errexit # Make sure you grab the latest version -VERSION=0.30.1 +VERSION=0.36.0 DOWNLOAD=https://github.com/bufbuild/buf/releases/download/v${VERSION}/buf-Linux-x86_64 function install() { From c9b78e4cfebfdf161d2891e795a4b98998aa7aea Mon Sep 17 00:00:00 2001 From: Mahmood Ali Date: Sun, 31 Jan 2021 20:23:22 -0500 Subject: [PATCH 2/2] update buf compare tag to latest release --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 1325e488c..58b72dfac 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -18,7 +18,7 @@ GOTEST_PKGS=$(shell go list ./... | sed 's/github.com\/hashicorp\/nomad/./' | eg endif # tag corresponding to latest release we maintain backward compatibility with -PROTO_COMPARE_TAG ?= v1.0.0$(if $(findstring ent,$(GO_TAGS)),+ent,) +PROTO_COMPARE_TAG ?= v1.0.3$(if $(findstring ent,$(GO_TAGS)),+ent,) default: help