ci(release): let a re-run override the existing release
This commit is contained in:
1 parent
bdc9594408
commit
4d9058b9b2
1 file changed
+5
@@ -64,6 +64,11 @@ jobs:
|
||||
uses: actions/forgejo-release@v2
|
||||
with:
|
||||
direction: upload
|
||||
# A re-run finds the release it made last time and would otherwise die
|
||||
# on `curl: (22) ... 409` when it tries to create it again. Override
|
||||
# deletes and recreates the release (the tag survives, since it still
|
||||
# matches the triggered SHA), so re-running this workflow is safe.
|
||||
override: true
|
||||
tag: ${{ forgejo.ref_name }}
|
||||
title: ${{ forgejo.ref_name }}
|
||||
release-notes-file: dist/notes.md
|
||||
Reference in new issue
Block a user