Skip to content

Commit 988d6be

Browse files
committed
fix: delete existing release before create (--clobber unavailable in CI gh version)
Made-with: Cursor
1 parent 2414e7a commit 988d6be

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,10 @@ jobs:
6464
env:
6565
GH_TOKEN: ${{ github.token }}
6666
run: |
67+
# Delete any existing release for this tag so CI is always authoritative.
68+
# (Ignore errors if no release exists yet.)
69+
gh release delete "${{ github.ref_name }}" --yes 2>/dev/null || true
6770
gh release create "${{ github.ref_name }}" \
6871
--title "Aldus ${{ steps.version.outputs.value }}" \
6972
--notes-file /tmp/release-notes.md \
70-
--clobber \
7173
releases/aldus-${{ steps.version.outputs.value }}.zip

0 commit comments

Comments
 (0)