Skip to content

Commit 124c850

Browse files
committed
fix(ci): 🐛 ensure tag format starts with 'v' in check_tag step
1 parent a7cde5b commit 124c850

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/create-linked-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ jobs:
7373
id: check_tag
7474
if: steps.validate_tag.outputs.is_valid == 'true'
7575
env:
76-
RELEASE_TAG: v${{ steps.validate_tag.outputs.new_version }}
76+
RELEASE_TAG: ${{ steps.validate_tag.outputs.new_version }}
7777
run: |
78+
RELEASE_TAG="v${RELEASE_TAG#v}" # Ensure the tag starts with 'v'
7879
if git tag --list | grep -q "^${RELEASE_TAG}$"; then
7980
echo "Tag '$RELEASE_TAG' already exists. No action needed."
8081
echo "create_tag=false" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)