File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ fetch() {
16
16
local os=" $( uname -s | awk ' { print tolower($0) }' ) "
17
17
18
18
local ver_cmd=" "
19
- local tool_fetch_cmd =" "
19
+ local fetch_cmd =" "
20
20
case " $tool " in
21
21
" golangci-lint" )
22
22
ver_cmd=" ${DEST} /golangci-lint --version 2>/dev/null | cut -d' ' -f4"
@@ -32,7 +32,7 @@ fetch() {
32
32
;;
33
33
" envtest" )
34
34
ver_cmd=" cat ${DEST} /.envtest_version 2>/dev/null"
35
- fetch_cmd=" (test -f ${DEST} /setup-envtest.sh || curl -sSLo ${DEST} /setup-envtest.sh https://raw.githubusercontent.com/kubernetes-sigs/controller-runtime/master /hack/setup-envtest.sh) && (source ${DEST} /setup-envtest.sh; fetch_envtest_tools ${DEST} /../) && echo ${ver} > ${DEST} /.envtest_version"
35
+ fetch_cmd=" (test -f ${DEST} /setup-envtest.sh || curl -sSLo ${DEST} /setup-envtest.sh https://raw.githubusercontent.com/kubernetes-sigs/controller-runtime/v ${ver} /hack/setup-envtest.sh) && (source ${DEST} /setup-envtest.sh; fetch_envtest_tools ${DEST} /../) && echo ${ver} > ${DEST} /.envtest_version"
36
36
;;
37
37
* )
38
38
echo " unknown tool $tool "
You can’t perform that action at this time.
0 commit comments