Skip to content

Commit

Permalink
script: use install.sh from golangci-lint repo (#132)
Browse files Browse the repository at this point in the history
The goreleaser script has been deprecated:

goreleaser/godownloader#207
  • Loading branch information
mmcloughlin authored Oct 31, 2021
1 parent fa760c8 commit 2cfd897
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
set -exuo pipefail

# Install golangci-lint
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b "${GOPATH}/bin" v1.38.0
golangci_lint_version='v1.38.0'
golangci_install_script="https://raw.githubusercontent.com/golangci/golangci-lint/${golangci_lint_version}/install.sh"
curl -sfL "${golangci_install_script}" | sh -s -- -b "$GOPATH/bin" "${golangci_lint_version}"

# Install goreleaser.
go install github.com/goreleaser/[email protected]
Expand Down

0 comments on commit 2cfd897

Please sign in to comment.