Skip to content

Commit

Permalink
script: use go install for goreleaser (#122)
Browse files Browse the repository at this point in the history
The existing install script appears to be broken on Mac:

```
m1:addchain mbm$ ./script/bootstrap
...
+ curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh
+ sh -s -- -b /Users/mbm/Development/gopath/bin v0.177.0
goreleaser/goreleaser crit uname_arch_check 'arm64' got converted to 'all' which is not a GOARCH value.  Please file bug report at https://github.com/client9/shlib
```

This install method was also recently removed from the goreleaser documentation:

goreleaser/goreleaser@7ddcfb0

This commit switches to `go install` for goreleaser.
  • Loading branch information
mmcloughlin authored Oct 25, 2021
1 parent 881e229 commit b4dbe78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -exuo pipefail
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b "${GOPATH}/bin" v1.38.0

# Install goreleaser.
curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh -s -- -b "${GOPATH}/bin" v0.177.0
go install github.com/goreleaser/goreleaser@v0.177.0

# Install godownloader.
#
Expand Down

0 comments on commit b4dbe78

Please sign in to comment.