File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -160,12 +160,7 @@ jobs:
160160 # Create tag using master branch commit count
161161 TAG_NAME="b$COMMIT_COUNT"
162162
163- # Check if tag exists on dev branch
164- if git ls-remote --tags origin refs/tags/$TAG_NAME | grep -q refs/tags/$TAG_NAME; then
165- echo "Tag $TAG_NAME already exists on dev branch"
166- else
167- # Create tag on the current commit (dev branch HEAD after merge)
168- git tag "$TAG_NAME"
169- git push origin "$TAG_NAME"
170- echo "Tag $TAG_NAME created successfully (total commits from master: $COMMIT_COUNT)"
171- fi
163+ # Create tag on the current commit (dev branch HEAD after merge)
164+ git tag "$TAG_NAME"
165+ git push origin "$TAG_NAME"
166+ echo "Tag $TAG_NAME created successfully (total commits from master: $COMMIT_COUNT)"
You can’t perform that action at this time.
0 commit comments