ci(release): let a re-run override the existing release

This commit is contained in:
beefcarver committed 2026-11-14 17:27:40 -05:00
1 parent bdc9594408
commit 4d9058b9b2
1 file changed
+5
+5
View File
@@ -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