Development

Deployments

Release workflows, binary assets, macOS notarization, and Homebrew tap automation.

Deployments

Tagged releases run through .github/workflows/ci.yml.

Release Assets

The release workflow builds and uploads these TUI binaries:

PlatformAsset
Linux AMD64tokenuse-linux-amd64
Linux ARM64tokenuse-linux-arm64
macOS Inteltokenuse-darwin-amd64
macOS Apple Silicontokenuse-darwin-arm64
Windows AMD64tokenuse-windows-amd64.exe

Each asset has a matching .sha256 checksum file.

Desktop Apps

Tagged releases also build desktop app bundles:

PlatformAssets
macOS Universaltokenuse-desktop-macos-universal.dmg
Windows AMD64tokenuse-desktop-windows-amd64-setup.exe, tokenuse-desktop-windows-amd64.msi
Linux AMD64tokenuse-desktop-linux-amd64.AppImage, tokenuse-desktop-linux-amd64.deb, tokenuse-desktop-linux-amd64.rpm
Linux ARM64tokenuse-desktop-linux-arm64.AppImage, tokenuse-desktop-linux-arm64.deb, tokenuse-desktop-linux-arm64.rpm

Each asset has a matching .sha256 checksum file.

The macOS desktop release job signs with a Developer ID Application certificate, notarizes through App Store Connect, verifies the mounted DMG, and uploads the normalized artifact to the GitHub Release. Windows and Linux desktop assets are unsigned for now and should be verified with their checksum files before installing.

Required Secrets

The macOS desktop release job requires:

SecretPurpose
APPLE_CERTIFICATEBase64-encoded Developer ID Application .p12 certificate
APPLE_CERTIFICATE_PASSWORDPassword for the exported certificate
KEYCHAIN_PASSWORDTemporary CI keychain password
APPLE_API_ISSUERApp Store Connect issuer ID
APPLE_API_KEYApp Store Connect key ID
APPLE_API_PRIVATE_KEYApp Store Connect .p8 private key contents
HOMEBREW_TAP_TOKENToken with push access to russmckendrick/homebrew-tap

Use a Developer ID Application certificate for direct-download DMGs. Apple Distribution is for App Store distribution, and Developer ID Installer is for .pkg installers.

Homebrew Tap

After the GitHub Release is created, .github/workflows/update-tap.yml updates:

  • Formula/tokenuse.rb for the TUI on macOS and Linux.
  • Casks/tokenuse.rb for the macOS desktop DMG.

The tap downloads checksums from the newly published release before writing the formula and cask. Windows and Linux desktop assets are published only to GitHub Releases for now.