Skip to content

Commit

Permalink
hack/actions: fix release image tag fetching (#4311)
Browse files Browse the repository at this point in the history
Adds `--force` to `git fetch --tags` to
work with the v2 checkout action.

Closes #4309.

Signed-off-by: Steve Kriss <krisss@vmware.com>
  • Loading branch information
skriss authored Jan 31, 2022
1 parent 367d747 commit 4856853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/actions/build-and-push-release-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=""

Expand Down

0 comments on commit 4856853

Please sign in to comment.