github.com/interconnectedcloud/qdr-operator@v0.0.0-20210826174505-576d2b33dac7/hack/go-dep.sh (about) 1 #!/usr/bin/env bash 2 3 DEP_VERSION=v0.5.0 4 5 if [[ -z ${CI} ]]; then 6 dep ensure -v 7 else 8 if ! command -v dep 2> /dev/null; then 9 curl -L -s https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 -o /go/bin/dep 10 chmod +x /go/bin/dep 11 fi 12 dep check 13 fi