Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions .github/workflows/upstream-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
# 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)"