Skip to content

Fix release workflow: draft release for MCPB uploads#395

Merged
cjimti merged 1 commit intomasterfrom
fix/release-draft-then-publish
Feb 10, 2026
Merged

Fix release workflow: draft release for MCPB uploads#395
cjimti merged 1 commit intomasterfrom
fix/release-draft-then-publish

Conversation

@cjimti
Copy link
Member

@cjimti cjimti commented Feb 10, 2026

Summary

  • GoReleaser creates the release as published (immutable by default), which causes the MCPB bundle upload step to fail with HTTP 422: Cannot upload assets to an immutable release
  • Set draft: true in .goreleaser.yml so the release stays mutable during asset uploads
  • Add a "Publish release" step after MCPB uploads to flip --draft=false

Test plan

  • Next tagged release should complete with MCPB bundles uploaded successfully
  • Verify the release is published (not stuck as draft) after the workflow completes

GoReleaser creates the release as published (immutable), which causes
the subsequent MCPB upload step to fail with HTTP 422. Create the
release as a draft first, then publish it after all assets are uploaded.
@cjimti cjimti merged commit 6a350fb into master Feb 10, 2026
11 checks passed
@cjimti cjimti deleted the fix/release-draft-then-publish branch February 10, 2026 23:30
@cjimti cjimti restored the fix/release-draft-then-publish branch February 10, 2026 23:48
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