summaryrefslogtreecommitdiff
path: root/hack/install_golangci.sh
blob: 9d23bbd314e12ea63fb82986f10588866d8adabc (plain)
1
2
3
4
5
#!/bin/bash -e
$GOBIN/golangci-lint --version | grep $VERSION
if [ $?  -ne 0 ]; then
	curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOBIN v$VERSION
fi