From dcd050ca6986d69125205e63319fc5d2b605df61 Mon Sep 17 00:00:00 2001 From: LinYushen Date: Fri, 17 Apr 2026 12:31:12 +0800 Subject: [PATCH] fix(desktop): set electron-builder publishingType to release (#1242) Our CLI release flow pre-creates a *published* GitHub Release via `gh release create`. electron-builder's default `publishingType: draft` conflicts with `existingType=release` and causes the DMG/ZIP/blockmaps/ latest-mac.yml uploads to be silently skipped, which breaks electron-updater auto-update on installed clients (observed on v0.2.4, had to fall back to `gh release upload` manually). Explicitly setting `publishingType: release` aligns electron-builder with our release flow so desktop artifacts are uploaded to the existing published release automatically. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- apps/desktop/electron-builder.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/desktop/electron-builder.yml b/apps/desktop/electron-builder.yml index b0f40681e..1993caf30 100644 --- a/apps/desktop/electron-builder.yml +++ b/apps/desktop/electron-builder.yml @@ -42,4 +42,10 @@ publish: provider: github owner: multica-ai repo: multica + # Align with our CLI release flow which pre-creates a *published* GitHub + # Release via `gh release create`. The electron-builder default of + # `publishingType: draft` conflicts with `existingType=release` and causes + # uploads of the DMG/ZIP/blockmaps/latest-mac.yml to be silently skipped, + # which breaks electron-updater auto-update on installed clients. + publishingType: release npmRebuild: false