From a82463574b2eeab28f5b3f5027a5ff95a079b388 Mon Sep 17 00:00:00 2001 From: Alex Goodman Date: Tue, 19 Oct 2021 12:01:51 -0400 Subject: [PATCH] Rollback goreleaser version (#570) * rollback goreleaser version Signed-off-by: Alex Goodman * update go sum Signed-off-by: Christopher Angelo Phillips Co-authored-by: Christopher Angelo Phillips --- .github/scripts/goreleaser-install.sh | 7 ------- Makefile | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/scripts/goreleaser-install.sh b/.github/scripts/goreleaser-install.sh index c6ed01c49..d49339574 100755 --- a/.github/scripts/goreleaser-install.sh +++ b/.github/scripts/goreleaser-install.sh @@ -62,7 +62,6 @@ execute() { } get_binaries() { case "$PLATFORM" in - darwin/all) BINARIES="goreleaser" ;; darwin/386) BINARIES="goreleaser" ;; darwin/amd64) BINARIES="goreleaser" ;; darwin/arm64) BINARIES="goreleaser" ;; @@ -204,10 +203,6 @@ uname_arch() { armv6*) arch="armv6" ;; armv7*) arch="armv7" ;; esac - os=$(uname_os) - case "$os" in - darwin) arch="all" ;; - esac echo ${arch} } uname_os_check() { @@ -224,7 +219,6 @@ uname_os_check() { plan9) return 0 ;; solaris) return 0 ;; windows) return 0 ;; - all) return 0 ;; esac log_crit "uname_os_check '$(uname -s)' got converted to '$os' which is not a GOOS value. Please file bug at https://github.com/client9/shlib" return 1 @@ -233,7 +227,6 @@ uname_arch_check() { arch=$(uname_arch) case "$arch" in 386) return 0 ;; - all) return 0 ;; amd64) return 0 ;; arm64) return 0 ;; armv5) return 0 ;; diff --git a/Makefile b/Makefile index f50296732..cdba6d59a 100644 --- a/Makefile +++ b/Makefile @@ -103,7 +103,7 @@ bootstrap-tools: $(TEMPDIR) GO111MODULE=off GOBIN=$(shell realpath $(TEMPDIR)) go get -u golang.org/x/perf/cmd/benchstat 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 - .github/scripts/goreleaser-install.sh -b $(TEMPDIR)/ v0.182.1 + .github/scripts/goreleaser-install.sh -b $(TEMPDIR)/ v0.177.0 .PHONY: bootstrap-go bootstrap-go: