From 67894bdfcf677730a62e4121a8e9d3cbb0e8323b Mon Sep 17 00:00:00 2001 From: ciregenz Date: Sun, 31 May 2026 15:45:02 -0700 Subject: [PATCH] [eric] ci: build windows release with -Squirrel override so the installer is named OpenSwarm-Setup-x64.exe (matches landing page + latest.yml) --- .github/workflows/release-windows.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-windows.yml b/.github/workflows/release-windows.yml index eec08175..af605413 100644 --- a/.github/workflows/release-windows.yml +++ b/.github/workflows/release-windows.yml @@ -149,12 +149,16 @@ jobs: } else { Write-Host "Version $version is STABLE" } + # -Squirrel passes --config.win.target=squirrel (string form), which makes + # electron-builder honor win.artifactName -> OpenSwarm-Setup-x64.exe. The + # object-form win.target in package.json does NOT, and falls back to + # openswarm-Setup-1.1.71.exe, which mismatches the landing page + latest.yml. if ($shouldPublish) { Write-Host "Build mode: PUBLISH" - pwsh -NoProfile -File scripts\build-app-win.ps1 -Publish + pwsh -NoProfile -File scripts\build-app-win.ps1 -Publish -Squirrel } else { Write-Host "Build mode: SIGN (artifact only)" - pwsh -NoProfile -File scripts\build-app-win.ps1 -Sign + pwsh -NoProfile -File scripts\build-app-win.ps1 -Sign -Squirrel } if ($LASTEXITCODE -ne 0) { throw "build-app-win.ps1 failed ($LASTEXITCODE)" }