mirror of
https://github.com/lllin000/PaperForge.git
synced 2026-07-22 17:00:23 +00:00
ci: handle existing release in publish workflow
This commit is contained in:
parent
cb6961bf67
commit
35bd1f4885
1 changed files with 1 additions and 0 deletions
1
.github/workflows/publish.yml
vendored
1
.github/workflows/publish.yml
vendored
|
|
@ -30,6 +30,7 @@ jobs:
|
|||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
gh release view "${{ github.ref_name }}" > /dev/null 2>&1 && gh release delete "${{ github.ref_name }}" --yes || true
|
||||
gh release create "${{ github.ref_name }}" \
|
||||
--title "${{ github.ref_name }}" \
|
||||
--generate-notes \
|
||||
|
|
|
|||
Loading…
Reference in a new issue