diff --git a/.github/workflows/sync-from-upstream.yaml b/.github/workflows/sync-from-upstream.yaml index e5685d6329cf..68c9872c36ac 100644 --- a/.github/workflows/sync-from-upstream.yaml +++ b/.github/workflows/sync-from-upstream.yaml @@ -30,6 +30,6 @@ jobs: # Fetch tags from upstream repo git fetch https://github.com/kyverno/kyverno --tags # Remove release candidates local tags - git tag -d $(git tag -l | grep -E "\-rc|\-beta|\-dev|\-chart") + git tag -d $(git tag -l | grep -Ei "\-rc|\-beta|\-dev|\-chart") git push --tags