cotabby icon indicating copy to clipboard operation
cotabby copied to clipboard

CI: release pipeline (notarize + Ed25519 sign + appcast)

Open Jam-Cai opened this issue 7 months ago • 3 comments

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.yml triggered on tag push matching v*
  • Build + notarize using Apple credentials stored in repo secrets
  • Sign the artifact with Sparkle's sign_update tool using the private key in secrets
  • Generate the appcast entry and publish to hosting
  • Cut a GitHub Release with the built .zip / .dmg attached

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.md documents the process, secrets needed, and the rollback procedure.

Jam-Cai avatar Apr 22 '26 19:04 Jam-Cai

FYI:

Image

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.

FuJacob avatar Apr 23 '26 05:04 FuJacob

Yeah github actions could be way better

Jam-Cai avatar Apr 23 '26 17:04 Jam-Cai

Finally done!

Image

FuJacob avatar Apr 28 '26 16:04 FuJacob