fix(release): match electron-builder x64 AppImage name in Linux verify
electron-builder emits Fusion-<v>-linux-x86_64.AppImage for x64 (deb uses amd64, tar.gz uses x64). The verify step globbed -linux-x64.AppImage and failed with "No Fusion Linux x64 AppImage artifacts produced" even though the AppImage built. Upload globs already used the broad -linux-*.AppImage. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -10,5 +10,6 @@ Fix the Binary Release workflow so platform binaries publish to GitHub Releases
|
||||
- Desktop packaging now invokes `electron-builder` directly via `pnpm exec` instead of the `dist:*` scripts: pnpm leaked the `--` separator into script args, which made electron-builder ignore `--publish never` (auto-publishing to the wrong repo and 404ing) and drop the Linux `--x64 --arm64` flags.
|
||||
- The desktop build spawns workspace `.cmd` bins with a shell on Windows, fixing the `spawn EINVAL` failure.
|
||||
- The desktop package declares an `author` with email so the Linux `.deb` target (fpm) can build.
|
||||
- The Linux AppImage verify step matches electron-builder's actual x64 output name (`-linux-x86_64.AppImage`).
|
||||
- A workflow_dispatch run now builds and uploads binaries as artifacts for validation without creating a release (release creation is gated to tag pushes).
|
||||
- The dependency-graph plugin build uses a cross-platform copy step that no longer breaks the Windows desktop build.
|
||||
|
||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -304,7 +304,9 @@ jobs:
|
||||
run: |
|
||||
shopt -s nullglob
|
||||
arm64_appimages=(packages/desktop/dist-electron/Fusion-*-linux-arm64.AppImage)
|
||||
x64_appimages=(packages/desktop/dist-electron/Fusion-*-linux-x64.AppImage)
|
||||
# electron-builder names the x64 AppImage with the x86_64 arch suffix
|
||||
# (deb uses amd64, tar.gz uses x64) — match the actual output name.
|
||||
x64_appimages=(packages/desktop/dist-electron/Fusion-*-linux-x86_64.AppImage)
|
||||
if [ ${#arm64_appimages[@]} -eq 0 ]; then
|
||||
echo "No Fusion Linux arm64 AppImage artifacts produced" >&2
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user