Skip to content

Commit ed48a36

Browse files
committed
fix: delete local tag before recreating on force release
1 parent b1c0df9 commit ed48a36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
if [[ "${{ github.event.inputs.force_release }}" == "true" ]]; then
5151
echo "Tag $TAG_NAME exists but force_release is true"
5252
# Delete existing tag for force release
53+
git tag -d "$TAG_NAME" 2>/dev/null || true
5354
git push origin --delete "$TAG_NAME" 2>/dev/null || true
5455
echo "should_release=true" >> $GITHUB_OUTPUT
5556
else

0 commit comments

Comments
 (0)