diff --git a/.ci/install-yq.sh b/.ci/install-yq.sh index 12b7998bb..b29cc5de2 100755 --- a/.ci/install-yq.sh +++ b/.ci/install-yq.sh @@ -59,7 +59,7 @@ function install_yq() { yq_version=$(basename "${yq_latest_url}") local yq_url="https://${yq_pkg}/releases/download/${yq_version}/yq_${goos}_${goarch}" - curl -o "${yq_path}" -L ${yq_url} + curl -o "${yq_path}" -LSs ${yq_url} chmod +x ${yq_path} if ! command -v "${yq_path}" >/dev/null; then diff --git a/golang.mk b/golang.mk index 4f47462c2..ce70efa78 100644 --- a/golang.mk +++ b/golang.mk @@ -8,6 +8,7 @@ have_yq=$(shell if [ -x "$(GOPATH)/bin/yq" ]; then echo "true"; else echo ""; fi) ifeq (,$(have_yq)) + $(info INFO: yq was not found, installing it) install_yq=$(shell .ci/install-yq.sh) endif ifneq (,$(install_yq))