diff --git a/.github/workflows/update-k8s-versions.yml b/.github/workflows/update-k8s-versions.yml index 0937a8aedb13..d1df8f98d214 100644 --- a/.github/workflows/update-k8s-versions.yml +++ b/.github/workflows/update-k8s-versions.yml @@ -20,7 +20,7 @@ jobs: id: bumpk8s run: | t=$(make update-kubernetes-version) - t=$(head -n 1 t) + t=$(echo $t | head -n 1) echo "::set-output name=title::$t" c=$(git status --porcelain) c="${c//$'\n'/'%0A'}" diff --git a/Makefile b/Makefile index 6ff3bb4e063c..7db1d22522f0 100644 --- a/Makefile +++ b/Makefile @@ -978,7 +978,7 @@ update-golang-version: .PHONY: update-kubernetes-version update-kubernetes-version: - (cd hack/update/kubernetes_version && \ + @(cd hack/update/kubernetes_version && \ go run update_kubernetes_version.go) .PHONY: update-golint-version