Skip to content

Handle immutable desktop releases#41

Merged
omer-second merged 1 commit into
mainfrom
codex/fix-immutable-desktop-release
Jul 1, 2026
Merged

Handle immutable desktop releases#41
omer-second merged 1 commit into
mainfrom
codex/fix-immutable-desktop-release

Conversation

@omer-second

Copy link
Copy Markdown
Contributor

Fixes the desktop release asset upload path for repos with immutable releases enabled.

What changed:

  • If no GitHub Release exists, keep creating the release with DMG assets in the initial create path.
  • If a draft release exists, upload the DMG assets and publish it.
  • If a published immutable release already exists, fail with a clear error instead of trying an impossible asset upload.

This prevents the confusing HTTP 422 immutable release failure and supports a safe draft-release flow.

@omer-second omer-second merged commit 4d2391a into main Jul 1, 2026
4 checks passed
@omer-second omer-second deleted the codex/fix-immutable-desktop-release branch July 1, 2026 13:02
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