Skip to content

ci: migrate release pipeline to GoReleaser#46

Merged
fank merged 1 commit intomainfrom
claude/goreleaser-migration
Apr 12, 2026
Merged

ci: migrate release pipeline to GoReleaser#46
fank merged 1 commit intomainfrom
claude/goreleaser-migration

Conversation

@fank
Copy link
Copy Markdown
Member

@fank fank commented Apr 12, 2026

Summary

Migrates atl-cli to GoReleaser — same proven pattern from esq-cli (validated end-to-end on v1.1.3: release + automatic formula push to homebrew-tap).

Changes

  • New: .goreleaser.yml — declarative config for builds, archives, checksums, changelog, release, and Homebrew tap push
  • Replaced: .github/workflows/release.yml — from ~138 lines of hand-rolled bash to ~47 lines

Only difference from esq-cli's config: adds -X main.date={{.Date}} ldflag (atl-cli injects build date).

Validated by

esq-cli v1.1.3 released successfully with this exact pattern — GoReleaser built all 6 platform binaries, created the GitHub Release, and pushed the formula to enthus-appdev/homebrew-tap via the enthus-appdev-tap-bumper GitHub App.

Test plan

  • .goreleaser.yml passes goreleaser check
  • Merge and tag next version
  • Verify release + formula push end-to-end

Same proven pattern from esq-cli (validated end-to-end on v1.1.3):
replace the hand-rolled bash release pipeline with GoReleaser v2.

Differences from esq-cli config:
- Added -X main.date ldflag (atl-cli uses version, commit, and date)
- Formula name: atl
- Formula description matches the repo description
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a .goreleaser.yml configuration file to automate the build and release process for the atl CLI. The review identifies two critical configuration issues related to the use of GoReleaser v2: the github block under release should be replaced with repository, and the brews section should be renamed to homebrews to ensure compatibility and correct execution.

Comment thread .goreleaser.yml
Comment thread .goreleaser.yml
@fank fank merged commit ccce0dd into main Apr 12, 2026
11 checks passed
@fank fank deleted the claude/goreleaser-migration branch April 12, 2026 10:34
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