Skip to content

Commit 2cfd897

Browse files
authored
script: use install.sh from golangci-lint repo (#132)
The goreleaser script has been deprecated: goreleaser/godownloader#207
1 parent fa760c8 commit 2cfd897

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

script/bootstrap

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
set -exuo pipefail
44

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

810
# Install goreleaser.
911
go install github.com/goreleaser/[email protected]

0 commit comments

Comments
 (0)