Delete existing release before creating to allow re-runs

https://claude.ai/code/session_01MqEqGhP1guGx5VuFsLaws2
This commit is contained in:
Claude 2026-05-08 16:56:23 +00:00
parent 58bbfb0371
commit cbfb2d5360
No known key found for this signature in database

View file

@ -110,6 +110,7 @@ jobs:
if [[ "${{ github.ref_name }}" == *"-"* ]]; then if [[ "${{ github.ref_name }}" == *"-"* ]]; then
PRERELEASE="--prerelease" PRERELEASE="--prerelease"
fi fi
gh release delete "${{ github.ref_name }}" --repo "${{ github.repository }}" --yes 2>/dev/null || true
gh release create "${{ github.ref_name }}" \ gh release create "${{ github.ref_name }}" \
--repo "${{ github.repository }}" \ --repo "${{ github.repository }}" \
--title "mdcms ${{ github.ref_name }}" \ --title "mdcms ${{ github.ref_name }}" \