- add GitHub Actions release workflow for v*.*.* tags with preflight checks - build and publish macOS, Linux, and Windows desktop artifacts in one release - replace DMG-only script with cross-platform `dist:desktop:artifact` flow - document release, signing setup, and new desktop dist commands
3.3 KiB
3.3 KiB
Release Checklist
This document covers how to run desktop releases from one tag, first without signing, then with signing.
What the workflow does
- Trigger: push tag matching
v*.*.*. - Runs quality gates first: lint, typecheck, test.
- Builds four artifacts in parallel:
- macOS
arm64DMG - macOS
x64DMG - Linux
x64AppImage - Windows
x64NSIS installer
- macOS
- Publishes one GitHub Release with all produced files.
- Signing is optional and auto-detected per platform from secrets.
1) Dry-run release without signing
Use this first to validate the release pipeline.
- Confirm no signing secrets are required for this test.
- Create a test tag:
git tag v0.0.0-test.1git push origin v0.0.0-test.1
- Wait for
.github/workflows/release.ymlto finish. - Verify the GitHub Release contains all platform artifacts.
- Download each artifact and sanity-check installation on each OS.
2) Apple signing + notarization setup (macOS)
Required secrets used by the workflow:
CSC_LINKCSC_KEY_PASSWORDAPPLE_API_KEYAPPLE_API_KEY_IDAPPLE_API_ISSUER
Checklist:
- Apple Developer account access:
- Team has rights to create Developer ID certificates.
- Create
Developer ID Applicationcertificate. - Export certificate + private key as
.p12from Keychain. - Base64-encode the
.p12and store asCSC_LINK. - Store the
.p12export password asCSC_KEY_PASSWORD. - In App Store Connect, create an API key (Team key).
- Add API key values:
APPLE_API_KEY: contents of the downloaded.p8APPLE_API_KEY_ID: Key IDAPPLE_API_ISSUER: Issuer ID
- Re-run a tag release and confirm macOS artifacts are signed/notarized.
Notes:
APPLE_API_KEYis stored as raw key text in secrets.- The workflow writes it to a temporary
AuthKey_<id>.p8file at runtime.
3) Azure Trusted Signing setup (Windows)
Required secrets used by the workflow:
AZURE_TENANT_IDAZURE_CLIENT_IDAZURE_CLIENT_SECRETAZURE_TRUSTED_SIGNING_ENDPOINTAZURE_TRUSTED_SIGNING_ACCOUNT_NAMEAZURE_TRUSTED_SIGNING_CERTIFICATE_PROFILE_NAMEAZURE_TRUSTED_SIGNING_PUBLISHER_NAME
Checklist:
- Create Azure Trusted Signing account and certificate profile.
- Record ATS values:
- Endpoint
- Account name
- Certificate profile name
- Publisher name
- Create/choose an Entra app registration (service principal).
- Grant service principal permissions required by Trusted Signing.
- Create a client secret for the service principal.
- Add Azure secrets listed above in GitHub Actions secrets.
- Re-run a tag release and confirm Windows installer is signed.
4) Ongoing release checklist
- Ensure
mainis green in CI. - Bump app version as needed.
- Create release tag:
vX.Y.Z. - Push tag.
- Verify workflow steps:
- preflight passes
- all matrix builds pass
- release job uploads expected files
- Smoke test downloaded artifacts.
5) Troubleshooting
- macOS build unsigned when expected signed:
- Check all Apple secrets are populated and non-empty.
- Windows build unsigned when expected signed:
- Check all Azure ATS and auth secrets are populated and non-empty.
- Build fails with signing error:
- Retry with secrets removed to confirm unsigned path still works.
- Re-check certificate/profile names and tenant/client credentials.