CI: release pipeline (notarize + Ed25519 sign + appcast)
Automate the release flow: on tag push, build → notarize with Apple → sign with the Sparkle Ed25519 key → publish to the appcast.
Depends on: #28 (Ed25519 signing key must exist and be in Info.plist)
Scope
.github/workflows/release.ymltriggered on tag push matchingv*- Build + notarize using Apple credentials stored in repo secrets
- Sign the artifact with Sparkle's
sign_updatetool using the private key in secrets - Generate the appcast entry and publish to hosting
- Cut a GitHub Release with the built
.zip/.dmgattached
Acceptance
- [x] Tag push triggers a full build → notarize → sign → publish run.
- [x] Unsigned or mis-signed artifacts fail the workflow before the publish step.
- [x] Apple notarization credentials + Sparkle Ed25519 private key stored only in repo secrets.
- [x]
RELEASING.mddocuments the process, secrets needed, and the rollback procedure.
FYI:
Testing right now, it's taking so long so I'm gonna go to bed now. If it's broken I'll fix tomorrow.
Ngl it's kinda dumb I need to test on main:
The annoying truth is: for some GitHub Actions triggers, a workflow file has to exist on the default branch before GitHub will let that trigger run. GitHub’s docs explicitly say workflow_dispatch requires the workflow to be on the default branch, even though once it exists there, you can manually run it on another branch.
Yeah github actions could be way better
Finally done!