Skip to content

Publish Homebrew as a cask instead of a formula - #48

Merged
davidnewhall merged 1 commit into
mainfrom
ci/homebrew-casks
Aug 27, 2026
Merged

Publish Homebrew as a cask instead of a formula#48
davidnewhall merged 1 commit into
mainfrom
ci/homebrew-casks

Conversation

@davidnewhall

Copy link
Copy Markdown
Contributor

Summary

  • Replace deprecated GoReleaser brews with homebrew_casks (same pattern as motifini).
  • Flatten release archives so the cask finds xt at the archive root.
  • golift/homebrew-mugs tap_migrations.json already maps xt → the cask so brew upgrade follows the formula after the first cask ships.

Test plan

  • Next tagged xt release writes Casks/xt.rb (not Formula/xt.rb)
  • After that release, remove Formula/xt.rb from mugs if brew still prefers the formula

Made with Cursor

GoReleaser deprecated brews; casks need a flat archive so the binary is at the staged path root.

Co-authored-by: Cursor <cursoragent@cursor.com>
@davidnewhall
davidnewhall merged commit 30da061 into main Aug 27, 2026
7 checks passed
@davidnewhall
davidnewhall deleted the ci/homebrew-casks branch August 27, 2026 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant