Skip to content

Conversation

@mkysel
Copy link
Collaborator

@mkysel mkysel commented Sep 17, 2025

Add GoReleaser-driven CI to build xmtpd-cli and publish tagged releases to GitHub Releases and the xmtp/homebrew-tap Homebrew cask

  • Add a GitHub Actions workflow in release-goreleaser.yaml that runs on tag pushes matching v*, pushes to main, pull requests, and manual dispatch, performs snapshot builds for non-tag events, publishes releases on tag pushes, and uploads dist/** artifacts.
  • Introduce GoReleaser v2 config in .goreleaser.yaml to build xmtpd-cli for linux/darwin on amd64/arm64 with CGO disabled, embed version metadata via ldflags, package archives as .zip and .tar.gz with shell completions and LICENSE, generate checksums, and update the Homebrew cask in xmtp/homebrew-tap.
  • Ignore the build output directory by adding dist/ to .gitignore.

📍Where to Start

Start with the workflow definition in release-goreleaser.yaml, then review the build and publishing configuration in .goreleaser.yaml.


Macroscope summarized 4f3c214.

@mkysel mkysel requested a review from a team as a code owner September 17, 2025 15:15
@graphite-app
Copy link

graphite-app bot commented Sep 17, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • Queue - adds this PR to the back of the merge queue
  • Hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@mkysel mkysel merged commit c90914d into main Sep 17, 2025
11 of 12 checks passed
@mkysel mkysel deleted the mkysel/goreleaser branch September 17, 2025 17:50
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.

3 participants