Skip to content

Commit 6fdbbd8

Browse files
committed
makefile: update Makefile.common with newer version
Signed-off-by: prombot <[email protected]>
1 parent 1335ef4 commit 6fdbbd8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile.common

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,9 @@ proto:
248248
ifdef GOLANGCI_LINT
249249
$(GOLANGCI_LINT):
250250
mkdir -p $(FIRST_GOPATH)/bin
251-
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(FIRST_GOPATH)/bin $(GOLANGCI_LINT_VERSION)
251+
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/$(GOLANGCI_LINT_VERSION)/install.sh \
252+
| sed -e '/install -d/d' \
253+
| sh -s -- -b $(FIRST_GOPATH)/bin $(GOLANGCI_LINT_VERSION)
252254
endif
253255

254256
ifdef GOVENDOR

0 commit comments

Comments
 (0)