Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

Commit 15830a5

Browse files
committed
chore: Delete previous tag, if exist
1 parent 9eebe87 commit 15830a5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ jobs:
3333
else
3434
echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
3535
fi
36-
36+
- name: Delete pre-existing tag (if any)
37+
run: |
38+
git tag -d ${{ env.RELEASE_TAG }} || true
39+
git push origin :refs/tags/${{ env.RELEASE_TAG }} || true
3740
- name: Create Release
3841
id: create_release
3942
uses: actions/create-release@v1

0 commit comments

Comments
 (0)