Skip to content

fix: upgrade release action to v2 to fix asset upload failure#38

Merged
KrennicMS merged 1 commit intodevelopfrom
fix/release-workflow-draft
Mar 11, 2026
Merged

fix: upgrade release action to v2 to fix asset upload failure#38
KrennicMS merged 1 commit intodevelopfrom
fix/release-workflow-draft

Conversation

@KrennicMS
Copy link
Copy Markdown
Collaborator

Problem

softprops/action-gh-release@v1 has a race condition: it creates and publishes the release immediately, then tries to upload assets in parallel. This causes 422 Cannot upload assets to an immutable release errors for all but the first uploaded file.

Fix

Upgrade to softprops/action-gh-release@v2 which handles atomic upload before publishing correctly.

Affected releases

v0.4.3 and v0.5.0 both have empty release assets due to this bug.

@KrennicMS KrennicMS merged commit 964a593 into develop Mar 11, 2026
3 checks passed
@KrennicMS KrennicMS deleted the fix/release-workflow-draft branch March 11, 2026 09:20
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