Outliner

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

FilePlatform
outliner-X-x86_64-linux.tar.gzLinux, x86_64 (one static program, a desktop entry, an icon)
outliner-X-aarch64-linux.tar.gzLinux, arm64
Outliner-X-macos-universal.dmgmacOS 13 and later, arm64 and x86_64 in one app
outliner-X-x86_64-windows.zipWindows 10 and 11, x86_64
SHA256SUMS.txtThe SHA-256 of each file

The release notes are the section of CHANGELOG.md for the version.

Steps of a release

  1. Set variable version in src/main.tcl, and write the section of the version in CHANGELOG.md. The heading has the form ## 0.1.0-beta.1 (2026-12-01).
  2. Merge to main. Wait for the CI run.
  3. Tag and push: git tag v0.1.0-beta.1 && git push origin v0.1.0-beta.1.
  4. Wait for the workflow. Read its summary: it says if the macOS app is signed and notarized.
  5. 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.

  1. In the repository settings, make an environment with the name release. Add required reviewers, so that each release needs an approval.
  2. In the Apple Developer account, make a Developer ID Application certificate. Export it with its private key from Keychain Access as a .p12 file with a password.
  3. In App Store Connect, under Users and Access, Integrations, make an API key with the role Developer. Download the .p8 file one time. Note the key id and the issuer id.
  4. Add these secrets to the environment release:
SecretValue
APPLE_CERT_P12_BASE64The .p12 file in base64: base64 -i cert.p12 | pbcopy
APPLE_CERT_PASSWORDThe password of the .p12 file
APPLE_TEAM_IDThe team id, 10 characters
APPLE_NOTARY_KEY_IDThe id of the API key
APPLE_NOTARY_ISSUERThe issuer id of the API key
APPLE_NOTARY_KEY_P8The text of the .p8 file
  1. Delete the local copies of the .p12 and the .p8 file, 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.