Repository navigation
Build an unsigned macOS app when signing secrets aren't set - #2
Merged
Merged
Conversation
An empty APPLE_CERTIFICATE made the bundler try to import a certificate and fail. Also let the Release workflow be re-run by hand for an existing tag. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013wWY5SvB2w46Qw92qtHG5e
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before: the v0.1.0 release build failed on macOS with "failed to import keychain certificate", so the release has the .deb, AppImage and .msi but no .dmg.
After: with no Apple signing secrets set, the macOS job builds an unsigned .dmg instead of failing. Once the secrets are added, it signs and notarizes as before.
The Release workflow can also be started by hand from the Actions tab with a tag name, so the missing .dmg can be added to the existing v0.1.0 release without a new tag.
How: the Apple variables used to be passed to tauri-action as empty strings, which the bundler treats as "sign with this certificate". A new step exports them only when
APPLE_CERTIFICATEis set.workflow_dispatchgets a requiredtaginput, used as the release tag when present.🤖 Generated with Claude Code
https://claude.ai/code/session_013wWY5SvB2w46Qw92qtHG5e
Generated by Claude Code