fix: create releases as draft to allow asset uploads

The release must be created as draft initially, otherwise it's
published immediately and becomes immutable before assets upload.

Users can manually publish after assets are uploaded, or we can
add a workflow_dispatch to publish programmatically.
This commit is contained in:
ProtoTess
2025-11-18 18:37:54 +00:00
parent 34eb35a3fd
commit 349fd20bc6
+1 -1
View File
@@ -180,7 +180,7 @@ jobs:
uses: softprops/action-gh-release@v2
with:
files: all-releases/*
draft: false
draft: true
prerelease: ${{ contains(github.ref, '-rc') || contains(github.ref, '-beta') || contains(github.ref, '-alpha') }}
generate_release_notes: true
fail_on_unmatched_files: true