From 48568538d465fde791fe3d921957e3a4f25c3f18 Mon Sep 17 00:00:00 2001 From: Steve Kriss Date: Mon, 31 Jan 2022 07:40:33 -0700 Subject: [PATCH] hack/actions: fix release image tag fetching (#4311) Adds `--force` to `git fetch --tags` to work with the v2 checkout action. Closes #4309. Signed-off-by: Steve Kriss --- hack/actions/build-and-push-release-images.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/actions/build-and-push-release-images.sh b/hack/actions/build-and-push-release-images.sh index e886776670c..2717eb806b9 100755 --- a/hack/actions/build-and-push-release-images.sh +++ b/hack/actions/build-and-push-release-images.sh @@ -28,7 +28,7 @@ fi # Fetch all tags so we can check if the current tag # is the highest semver. -git fetch --tags +git fetch --tags --force HIGHEST_SEMVER_TAG=""