fix(ci): migrate goreleaser config for v2 compatibility#21
Merged
itsjeremyjohnson merged 1 commit intomainfrom Apr 9, 2026
Merged
fix(ci): migrate goreleaser config for v2 compatibility#21itsjeremyjohnson merged 1 commit intomainfrom
itsjeremyjohnson merged 1 commit intomainfrom
Conversation
- archives.builds -> archives.ids - archives.format -> archives.formats - brews -> homebrew_casks (v2.10+) - Remove folder field (removed in v2) Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes GoReleaser v2 config issues:
Greptile Summary
This PR migrates the GoReleaser configuration from deprecated v1-era fields to their v2 equivalents:
builds→ids,format→formats(as array),brews→homebrew_casks, and drops the removedfolderfield (defaulting the cask to theCasks/directory). All changes align with the GoReleaser v2 deprecation notices and the newhomebrew_casksfeature introduced in v2.10.Confidence Score: 5/5
Safe to merge — all deprecated fields are correctly replaced with their v2 equivalents and no logic regressions were found.
Every field change matches the GoReleaser v2 deprecation notices exactly:
builds→ids,format→formats(array),brews→homebrew_casks, and thefolderremoval (casks default to theCasks/directory). The newbinary: clickup-clifield is correct for a pre-compiled binary cask. No P0 or P1 findings; all remaining observations are P2 or lower.No files require special attention.
Vulnerabilities
No security concerns identified. The
HOMEBREW_TAP_GITHUB_TOKENis still correctly sourced from an environment variable rather than being hardcoded.Important Files Changed
folder,license, andtestfields is appropriate for thehomebrew_casksstanza.Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD A[GoReleaser v2 Build] --> B[builds: clickup\nlinux amd64/arm64\nwindows amd64/arm64] A --> C[builds: clickup_darwin\ndarwin amd64/arm64] B --> D[archives\nids: clickup + clickup_darwin\nformats: tar.gz\nwindows override: zip] C --> D D --> E[checksum\nchecksums.txt] D --> F[homebrew_casks\nrepository: builtbyrobben/homebrew-tap\ndir: Casks default\nbinary: clickup-cli] F --> G[Tap repo\nCasks/clickup-cli.rb]Reviews (1): Last reviewed commit: "fix(ci): migrate goreleaser config for v..." | Re-trigger Greptile