-
Notifications
You must be signed in to change notification settings - Fork 6
fix(release): publish signed builds without Windows certificate #87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,21 +35,10 @@ jobs: | |
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| include: | ||
| - name: 'macOS Apple Silicon' | ||
| os: 'macos-15' | ||
| target: 'aarch64-apple-darwin' | ||
| legacy_arch: 'arm64' | ||
| - name: 'macOS Intel' | ||
| os: 'macos-15-intel' | ||
| target: 'x86_64-apple-darwin' | ||
| legacy_arch: 'x64' | ||
| - name: 'Windows x64' | ||
| os: 'windows-2025' | ||
| target: 'x86_64-pc-windows-msvc' | ||
| - name: 'Linux x64' | ||
| os: 'ubuntu-22.04' | ||
| target: 'x86_64-unknown-linux-gnu' | ||
| include: >- | ||
| ${{ fromJSON(inputs.publish && | ||
| '[{"name":"macOS Apple Silicon","os":"macos-15","target":"aarch64-apple-darwin","legacy_arch":"arm64"},{"name":"macOS Intel","os":"macos-15-intel","target":"x86_64-apple-darwin","legacy_arch":"x64"},{"name":"Linux x64","os":"ubuntu-22.04","target":"x86_64-unknown-linux-gnu"}]' || | ||
| '[{"name":"macOS Apple Silicon","os":"macos-15","target":"aarch64-apple-darwin","legacy_arch":"arm64"},{"name":"macOS Intel","os":"macos-15-intel","target":"x86_64-apple-darwin","legacy_arch":"x64"},{"name":"Windows x64","os":"windows-2025","target":"x86_64-pc-windows-msvc"},{"name":"Linux x64","os":"ubuntu-22.04","target":"x86_64-unknown-linux-gnu"}]') }} | ||
| steps: | ||
| - name: 'Check out source' | ||
| uses: 'actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10' # v6.0.3 | ||
|
|
@@ -352,6 +341,9 @@ jobs: | |
| for manifest in macos:latest-mac.yml windows:latest.yml linux:latest-linux.yml; do | ||
| platform="${manifest%%:*}" | ||
| output="${manifest#*:}" | ||
| if [[ "$platform" == 'windows' ]] && ! compgen -G 'release-assets/*-setup.exe' >/dev/null; then | ||
| continue | ||
|
Comment on lines
+344
to
+345
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When a non-draft, non-prerelease release is published with the default Useful? React with 👍 / 👎. |
||
| fi | ||
| node .github/scripts/create-electron-bridge-manifest.mjs --assets release-assets --platform "$platform" --version "$RELEASE_VERSION" --output "release-assets/$output" | ||
| done | ||
| fi | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When a stable publish has no Windows artifact, this branch removes
windows-x86_64fromlatest.json, after which.github/workflows/desktop-build.yml:368-391clobbers the shareddesktop-latestfeed with that incomplete manifest. Windows Tauri builds use this exact endpoint throughpackages/desktop-shell/src-tauri/tauri.conf.json:72-75, so their updater has no matching platform descriptor and update checks fail until a later release restores one. Use platform-specific feeds or otherwise avoid replacing the Windows-consumed feed with a manifest that lacks Windows.Useful? React with 👍 / 👎.