mirror of
https://github.com/anchore/syft.git
synced 2026-02-13 19:16:43 +01:00
Rollback goreleaser version (#570)
* rollback goreleaser version Signed-off-by: Alex Goodman <alex.goodman@anchore.com> * update go sum Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com> Co-authored-by: Christopher Angelo Phillips <christopher.phillips@anchore.com>
This commit is contained in:
parent
cbdb72ea22
commit
a82463574b
7
.github/scripts/goreleaser-install.sh
vendored
7
.github/scripts/goreleaser-install.sh
vendored
@ -62,7 +62,6 @@ execute() {
|
|||||||
}
|
}
|
||||||
get_binaries() {
|
get_binaries() {
|
||||||
case "$PLATFORM" in
|
case "$PLATFORM" in
|
||||||
darwin/all) BINARIES="goreleaser" ;;
|
|
||||||
darwin/386) BINARIES="goreleaser" ;;
|
darwin/386) BINARIES="goreleaser" ;;
|
||||||
darwin/amd64) BINARIES="goreleaser" ;;
|
darwin/amd64) BINARIES="goreleaser" ;;
|
||||||
darwin/arm64) BINARIES="goreleaser" ;;
|
darwin/arm64) BINARIES="goreleaser" ;;
|
||||||
@ -204,10 +203,6 @@ uname_arch() {
|
|||||||
armv6*) arch="armv6" ;;
|
armv6*) arch="armv6" ;;
|
||||||
armv7*) arch="armv7" ;;
|
armv7*) arch="armv7" ;;
|
||||||
esac
|
esac
|
||||||
os=$(uname_os)
|
|
||||||
case "$os" in
|
|
||||||
darwin) arch="all" ;;
|
|
||||||
esac
|
|
||||||
echo ${arch}
|
echo ${arch}
|
||||||
}
|
}
|
||||||
uname_os_check() {
|
uname_os_check() {
|
||||||
@ -224,7 +219,6 @@ uname_os_check() {
|
|||||||
plan9) return 0 ;;
|
plan9) return 0 ;;
|
||||||
solaris) return 0 ;;
|
solaris) return 0 ;;
|
||||||
windows) return 0 ;;
|
windows) return 0 ;;
|
||||||
all) return 0 ;;
|
|
||||||
esac
|
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"
|
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
|
return 1
|
||||||
@ -233,7 +227,6 @@ uname_arch_check() {
|
|||||||
arch=$(uname_arch)
|
arch=$(uname_arch)
|
||||||
case "$arch" in
|
case "$arch" in
|
||||||
386) return 0 ;;
|
386) return 0 ;;
|
||||||
all) return 0 ;;
|
|
||||||
amd64) return 0 ;;
|
amd64) return 0 ;;
|
||||||
arm64) return 0 ;;
|
arm64) return 0 ;;
|
||||||
armv5) return 0 ;;
|
armv5) return 0 ;;
|
||||||
|
|||||||
2
Makefile
2
Makefile
@ -103,7 +103,7 @@ bootstrap-tools: $(TEMPDIR)
|
|||||||
GO111MODULE=off GOBIN=$(shell realpath $(TEMPDIR)) go get -u golang.org/x/perf/cmd/benchstat
|
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/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/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
|
.PHONY: bootstrap-go
|
||||||
bootstrap-go:
|
bootstrap-go:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user