Releases
A release is a tag vX.Y.Z-beta.N on main. The workflow .github/workflows/release.yml builds each program, signs the macOS app, and makes a draft release on GitHub. A person pushes the tag and publishes the draft. No workflow and no agent pushes a tag.
What the workflow builds
| File | Platform |
|---|---|
outliner-X-x86_64-linux.tar.gz | Linux, x86_64 (one static program, a desktop entry, an icon) |
outliner-X-aarch64-linux.tar.gz | Linux, arm64 |
Outliner-X-macos-universal.dmg | macOS 13 and later, arm64 and x86_64 in one app |
outliner-X-x86_64-windows.zip | Windows 10 and 11, x86_64 |
SHA256SUMS.txt | The SHA-256 of each file |
The release notes are the section of CHANGELOG.md for the version.
Steps of a release
- Set
variable versioninsrc/main.tcl, and write the section of the version inCHANGELOG.md. The heading has the form## 0.1.0-beta.1 (2026-12-01). - Merge to
main. Wait for the CI run. - Tag and push:
git tag v0.1.0-beta.1 && git push origin v0.1.0-beta.1. - Wait for the workflow. Read its summary: it says if the macOS app is signed and notarized.
- Open the draft release, check the files, and publish.
macOS signing: the one-time setup
The macOS job signs the app with a Developer ID Application certificate, sends it to the notary service of Apple, and staples the ticket to the app and to the disk image. It reads its secrets only from the GitHub environment release.
- In the repository settings, make an environment with the name
release. Add required reviewers, so that each release needs an approval. - In the Apple Developer account, make a Developer ID Application certificate. Export it with its private key from Keychain Access as a
.p12file with a password. - In App Store Connect, under Users and Access, Integrations, make an API key with the role Developer. Download the
.p8file one time. Note the key id and the issuer id. - Add these secrets to the environment
release:
| Secret | Value |
|---|---|
APPLE_CERT_P12_BASE64 | The .p12 file in base64: base64 -i cert.p12 | pbcopy |
APPLE_CERT_PASSWORD | The password of the .p12 file |
APPLE_TEAM_ID | The team id, 10 characters |
APPLE_NOTARY_KEY_ID | The id of the API key |
APPLE_NOTARY_ISSUER | The issuer id of the API key |
APPLE_NOTARY_KEY_P8 | The text of the .p8 file |
- Delete the local copies of the
.p12and the.p8file, or keep them in a password manager.
The workflow never prints a secret. It puts the certificate in a temporary keychain and deletes the keychain at the end of the job.
A release with no secrets
When a secret is absent, the macOS job writes a warning in the log and in the summary, and makes the disk image with an ad hoc signature. macOS then shows a warning when a person opens the app. The other files are the same.
Check a download
sha256sum -c SHA256SUMS.txt
spctl --assess --type execute -v Outliner.app # macOS: "accepted, source=Notarized Developer ID"
xcrun stapler validate Outliner.app
Linux and Windows
The Linux programs and the Windows program have no signature in this version.