diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index c346502..bfd1151 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -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