From 8535ee5b2e0f2c279e8407bfa4ce3d96d37a2fde Mon Sep 17 00:00:00 2001 From: Alex Goodman Date: Wed, 22 Dec 2021 15:37:48 -0500 Subject: [PATCH] bump goreleaser to v1.2 (#720) Signed-off-by: Alex Goodman --- .github/scripts/goreleaser-install.sh | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/goreleaser-install.sh b/.github/scripts/goreleaser-install.sh index d4933957437..8f2a51fe725 100755 --- a/.github/scripts/goreleaser-install.sh +++ b/.github/scripts/goreleaser-install.sh @@ -338,7 +338,7 @@ hash_sha256_verify() { return 1 fi BASENAME=${TARGET##*/} - want=$(grep "${BASENAME}" "${checksums}" 2>/dev/null | tr '\t' ' ' | cut -d ' ' -f 1) + want=$(grep "${BASENAME}\$" "${checksums}" 2>/dev/null | tr '\t' ' ' | cut -d ' ' -f 1) if [ -z "$want" ]; then log_err "hash_sha256_verify unable to find checksum for '${TARGET}' in '${checksums}'" return 1 diff --git a/Makefile b/Makefile index c5b8abf1772..d5789b2f58d 100644 --- a/Makefile +++ b/Makefile @@ -100,7 +100,7 @@ bootstrap-tools: $(TEMPDIR) curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(TEMPDIR)/ v1.42.1 curl -sSfL https://raw.githubusercontent.com/wagoodman/go-bouncer/master/bouncer.sh | sh -s -- -b $(TEMPDIR)/ v0.2.0 curl -sSfL https://raw.githubusercontent.com/anchore/chronicle/main/install.sh | sh -s -- -b $(TEMPDIR)/ v0.3.0 - .github/scripts/goreleaser-install.sh -b $(TEMPDIR)/ v0.177.0 + .github/scripts/goreleaser-install.sh -b $(TEMPDIR)/ v1.2.2 GOBIN="$(shell realpath $(TEMPDIR))" go install github.com/neilpa/yajsv@v1.4.0 .PHONY: bootstrap-go