Skip to content

fix(ci): migrate goreleaser config for v2 compatibility#21

Merged
itsjeremyjohnson merged 1 commit intomainfrom
fix/goreleaser-v2-config
Apr 9, 2026
Merged

fix(ci): migrate goreleaser config for v2 compatibility#21
itsjeremyjohnson merged 1 commit intomainfrom
fix/goreleaser-v2-config

Conversation

@itsjeremyjohnson
Copy link
Copy Markdown
Collaborator

@itsjeremyjohnson itsjeremyjohnson commented Apr 9, 2026

Fixes GoReleaser v2 config issues:

  • archives.builds -> archives.ids (removed in v2)
  • archives.format -> archives.formats (removed in v2)
  • brews -> homebrew_casks (deprecated since v2.10, casks for pre-compiled binaries)
  • Remove folder field (renamed to directory in v2)

Greptile Summary

This PR migrates the GoReleaser configuration from deprecated v1-era fields to their v2 equivalents: buildsids, formatformats (as array), brewshomebrew_casks, and drops the removed folder field (defaulting the cask to the Casks/ directory). All changes align with the GoReleaser v2 deprecation notices and the new homebrew_casks feature 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: buildsids, formatformats (array), brewshomebrew_casks, and the folder removal (casks default to the Casks/ directory). The new binary: clickup-cli field 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_TOKEN is still correctly sourced from an environment variable rather than being hardcoded.

Important Files Changed

Filename Overview
.goreleaser.yaml Correctly migrates all deprecated v1-era GoReleaser fields to their v2 equivalents; removal of folder, license, and test fields is appropriate for the homebrew_casks stanza.

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]
Loading

Reviews (1): Last reviewed commit: "fix(ci): migrate goreleaser config for v..." | Re-trigger Greptile

- 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>
@itsjeremyjohnson itsjeremyjohnson merged commit 3e4899c into main Apr 9, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant