Skip to content

Publish releases after uploading their files - #2285

Merged
NicoPennec merged 1 commit into
cgwire:mainfrom
NicoPennec:main
Oct 20, 2026
Merged

NicoPennec merged 1 commit into
cgwire:mainfrom
NicoPennec:main

Conversation

@NicoPennec

Copy link
Copy Markdown
Member

Problem

  • Since releases became immutable, v1.0.72 came out without its tarball and checksum.

Solution

  • Publish the release only after uploading these files.

Since releases became immutable, GitHub refuses files added to a
published release. The release action published first and only warned
when the upload failed, so v1.0.72 came out without its tarball and
checksum.

The action now creates a draft, uploads the files, then publishes it.
A failed upload fails the job and leaves the draft unpublished: delete
it before running the job again.
@NicoPennec
NicoPennec merged commit 7610a44 into cgwire:main Oct 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant