GoReleaser
Homebrew Tap
GoReleaser automatically publishes a Homebrew Cask to StackExchange/homebrew-tap on every release. This requires two components: a GitHub PAT for tap updates and macOS code signing + notarization.
Homebrew TAP GitHub PAT
GoReleaser needs a GitHub Personal Access Token to push the Homebrew Cask formula to the StackExchange/homebrew-tap repository.
Secret name
HOMEBREW_TAP_GITHUB_TOKEN (repository secret)
Scope
repo access on StackExchange org
Expires
February 6, 2027
Action needed before
~January 18, 2027
Links:
Rotation procedure
Generate a new PAT with the same scopes (
repoonStackExchangeorg)Update the repository secret
HOMEBREW_TAP_GITHUB_TOKENVerify that the next GoReleaser release successfully updates the Homebrew tap
Create a new tracking issue for the next rotation cycle
macOS Code Signing & Notarization
Without code signing, macOS Gatekeeper shows an error on brew install:
Apple could not verify "dnscontrol" is free of malware that may harm your Mac or compromise your privacy.
GoReleaser supports macOS notarization via the notarize section in .goreleaser.yml:
The enabled condition ensures that builds without secrets (e.g. local builds) continue normally.
Steps to activate
1. Apple Developer Program
Sign up at developer.apple.com/programs ($99/year).
Team Name
JCID B.V.
Team ID
TY4QRVP7MM
Expires
February 10, 2027
2. Developer ID Application Certificate
Open Keychain Access > Certificate Assistant > Request a Certificate From a Certificate Authority...
Choose Saved to disk, save the
.certSigningRequestfileChoose Developer ID Application, upload the
.certSigningRequestfileDownload the
.cerfile, double-click to import into Keychain
3. Export as .p12
Open Keychain Access, find Developer ID Application: [name]
Right-click > Export... > format .p12
Set a strong password (this becomes
MACOS_SIGN_PASSWORD)
4. App Store Connect API Key
Generate API Key, role: Developer
Download the
.p8file (can only be downloaded once!)Note the Key ID and Issuer ID
5. GitHub Actions Secrets
Encode the .p12 file:
Configure under repo > Settings > Secrets and variables > Actions:
MACOS_SIGN_P12
Base64-encoded .p12 file
MACOS_SIGN_PASSWORD
Password of the .p12 certificate
MACOS_NOTARY_ISSUER_ID
Issuer ID from App Store Connect
MACOS_NOTARY_KEY_ID
Key ID of the API key
MACOS_NOTARY_KEY
Full contents of the .p8 file (including BEGIN/END lines)
6. Testing
Background
Homebrew
--no-quarantineflag is deprecated since Homebrew 5.0.0 (November 2025)There is no cask-level option to disable quarantine
Unsigned casks will be removed from the official Homebrew tap as of September 2026
Last updated