Skip to content

simplify signing process, add retries - #199

Open
peterj wants to merge 2 commits into
mainfrom
peterj/buildonce
Open

peterj wants to merge 2 commits into
mainfrom
peterj/buildonce

Conversation

@peterj

@peterj peterj commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator

Problem

Each macOS architecture compiled the release build twice: once for the standalone binary (cargo build) and once for the PKG (tauri build). On the Intel runner each build takes about 20 minutes.

Changes

  • Merge build-macos-binaries and build-macos-installers into one build-macos job.
  • Copy the standalone binary out of agentdesktop.app/Contents/MacOS/agentdesktop, re-sign it on its own (same Developer ID, dev.agentdesktop.tray, hardened runtime, timestamp), notarize it, and upload it as release-binary-darwin-<arch> as before.
  • PKG notarization, stapling, smoke test and upload are unchanged.
  • Update the packaging test, which expected two signing-cleanup steps; there is now one.

Notes

  • The standalone binary also gets the release version from the Tauri config, which it didn't before.
  • The two binaries are signed the same way but have different signature hashes (CDHash): the app copy's signature also covers Info.plist and the bundle's other files.

Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>
Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>
@peterj
peterj requested a review from ilackarms October 23, 2026 21:15

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant