feat: add Homebrew distribution and automated versioning#8
Merged
blackaxgit merged 3 commits intomainfrom Mar 19, 2026
Merged
Conversation
Add update-homebrew job to release.yml that generates and pushes a Homebrew formula to blackaxgit/homebrew-clx after each stable release. Add Homebrew install instructions to README.
Add release-plz workflow that creates Release PRs with version bumps
and changelogs from conventional commits. On Release PR merge, creates
git tag that triggers existing release pipeline (build β GitHub Release
β Homebrew tap update).
Config: unified versioning (all 4 crates), no crates.io publish,
single root CHANGELOG.md, tag format v{{ version }}.
Pin release-plz/action and dtolnay/rust-toolchain to immutable commit SHAs to mitigate supply-chain attacks via mutable tags.
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.
Summary
update-homebrewjob to release workflow that generates and pushes a Homebrew formula toblackaxgit/homebrew-clxafter each stable releaseHomebrew Tap (
update-homebrewjob)The
update-homebrewjob downloads SHA256 checksums from the release, generatesFormula/clx.rbwith architecture-conditional URLs, and pushes to the tap repo. Skips pre-releases.User install:
brew tap blackaxgit/clx && brew install clxAutomated Versioning (
release-plz)Config highlights:
publish = false/git_only = trueβ binary-only, no crates.iogit_release_enable = falseβ avoids duplicate GitHub Releases (release.yml handles it)git_tag_name = "v{{ version }}"β matches release.yml triggerversion_group = "clx"β all 4 crates version togetherrelease_always = falseβ only releases when Release PR is mergedRequires:
RELEASE_PLZ_TOKENsecret (Fine-Grained PAT with Contents + PRs read/write). Tags created by GITHUB_TOKEN cannot trigger downstream workflows.Prerequisites (manual)
blackaxgit/homebrew-clxrepoHOMEBREW_TAP_TOKENsecretRELEASE_PLZ_TOKENsecretv0.1.0after mergeTest plan
π€ Generated with Claude Code