mirror of
https://github.com/kbenestad/mdcms.git
synced 2026-06-18 15:24:32 +00:00
Delete existing release before creating to allow re-runs
https://claude.ai/code/session_01MqEqGhP1guGx5VuFsLaws2
This commit is contained in:
parent
58bbfb0371
commit
cbfb2d5360
1 changed files with 1 additions and 0 deletions
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
|
|
@ -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 }}" \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue