diff --git a/.github/workflows/upstream-sync.yml b/.github/workflows/upstream-sync.yml index 3f04688c21940..72c0bc8e1da06 100644 --- a/.github/workflows/upstream-sync.yml +++ b/.github/workflows/upstream-sync.yml @@ -160,12 +160,7 @@ jobs: # Create tag using master branch commit count TAG_NAME="b$COMMIT_COUNT" - # Check if tag exists on dev branch - if git ls-remote --tags origin refs/tags/$TAG_NAME | grep -q refs/tags/$TAG_NAME; then - echo "Tag $TAG_NAME already exists on dev branch" - else - # Create tag on the current commit (dev branch HEAD after merge) - git tag "$TAG_NAME" - git push origin "$TAG_NAME" - echo "Tag $TAG_NAME created successfully (total commits from master: $COMMIT_COUNT)" - fi \ No newline at end of file + # Create tag on the current commit (dev branch HEAD after merge) + git tag "$TAG_NAME" + git push origin "$TAG_NAME" + echo "Tag $TAG_NAME created successfully (total commits from master: $COMMIT_COUNT)" \ No newline at end of file