GoReleaser "is a GoReleaser Pro feature" (GORELEASER_KEY) in CI
Some GoReleaser config keys are only available in GoReleaser Pro. Running the open-source build with a Pro-only field, or Pro without a valid GORELEASER_KEY, fails with a Pro feature error.
What this error means
GoReleaser fails to load config or run with "X is a GoReleaser Pro feature" or "invalid GORELEASER_KEY", pointing at a Pro-only field.
Terminal
⨯ release failed after 0s
error=partial: only available in GoReleaser Pro, get it at
https://goreleaser.com/proCommon causes
A Pro-only field on the open-source build
Fields like partial, nightly, or templated includes are Pro-only; the OSS binary rejects them.
Pro is used without a valid key
The Pro distribution needs GORELEASER_KEY set to a valid license, or it will not run Pro features.
How to fix it
Use the Pro distribution with a key
- Set
distribution: goreleaser-proin the action. - Provide
GORELEASER_KEYfrom a secret in the step env. - Re-run so the Pro features are recognized.
.github/workflows/release.yml
- uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser-pro
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}Remove the Pro-only field if you use OSS
If you are not on Pro, delete the Pro-only key from the config so the open-source binary can run.
Terminal
goreleaser checkHow to prevent it
- Know which config fields are Pro-only before adding them.
- Set
distribution: goreleaser-proandGORELEASER_KEYwhen using Pro. - Run
goreleaser checkto catch Pro-only fields early.
Related guides
GoReleaser announce step token/auth failed in CIFix GoReleaser announce failures in CI - posting the release to Slack, Discord, or Twitter fails when the web…
GoReleaser "goreleaser check" config validation fails in CIFix "goreleaser check" failures in CI - the config validation step reports deprecated, invalid, or missing fi…
GoReleaser "only configurations files on version: 2 are supported" in CIFix GoReleaser "only configurations files on version: 2 are supported" in CI - GoReleaser v2 requires a top-l…