From 2cfd89772a3099d54f619720e1e4992bd7e5846d Mon Sep 17 00:00:00 2001 From: Michael McLoughlin Date: Sat, 30 Oct 2021 19:14:36 -0700 Subject: [PATCH] script: use install.sh from golangci-lint repo (#132) The goreleaser script has been deprecated: https://github.com/goreleaser/godownloader/issues/207 --- script/bootstrap | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/script/bootstrap b/script/bootstrap index f13800b..dfb6285 100755 --- a/script/bootstrap +++ b/script/bootstrap @@ -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/goreleaser@v0.177.0