From a18fbacae7bd375a38e6ece836b6c85571deb80f Mon Sep 17 00:00:00 2001 From: Alex Goodman Date: Mon, 3 Jan 2022 10:19:00 -0500 Subject: [PATCH] Revert "bump goreleaser to v1.2 (#720)" (#731) This reverts commit 8535ee5b2e0f2c279e8407bfa4ce3d96d37a2fde. 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 8f2a51fe7..d49339574 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 d5789b2f5..c5b8abf17 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)/ v1.2.2 + .github/scripts/goreleaser-install.sh -b $(TEMPDIR)/ v0.177.0 GOBIN="$(shell realpath $(TEMPDIR))" go install github.com/neilpa/yajsv@v1.4.0 .PHONY: bootstrap-go