From dea9e55cd86c860e3402cfe25becd30db228b482 Mon Sep 17 00:00:00 2001 From: klaases Date: Tue, 21 Dec 2021 15:31:55 -0800 Subject: [PATCH] Fix echo $t title --- .github/workflows/update-k8s-versions.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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