diff --git a/hack/verify-godeps.sh b/hack/verify-godeps.sh index dcec60fc1ae..e00daa25fc8 100755 --- a/hack/verify-godeps.sh +++ b/hack/verify-godeps.sh @@ -56,8 +56,11 @@ trap cleanup EXIT # build the godep tool export GOPATH="${_tmpdir}" go get -u github.com/tools/godep 2>/dev/null -go install github.com/tools/godep 2>/dev/null GODEP="${_tmpdir}/bin/godep" +pushd "${GOPATH}/src/github.com/tools/godep" > /dev/null + git checkout v53 + "${GODEP}" go install +popd > /dev/null # fill out that nice clean place with the kube godeps echo "Starting to download all kubernetes godeps. This takes a while"