Skip to content

Add Homebrew tap support#527

Draft
anirudhwarrier wants to merge 3 commits into
mainfrom
aw/homebrew-tap
Draft

Add Homebrew tap support#527
anirudhwarrier wants to merge 3 commits into
mainfrom
aw/homebrew-tap

Conversation

@anirudhwarrier

Copy link
Copy Markdown
Collaborator

Summary

Adds Homebrew distribution for cre via an in-repo formula in the public cre-cli repo.

  • Adds Formula/cre.rb (binary formula for v1.24.0, macOS + Linux)
  • Adds scripts/update-homebrew-formula.sh to regenerate the formula from release checksums
  • Adds .github/workflows/homebrew.yml to auto-bump the formula on publish and validate on PRs
  • Documents install in README and install/install.sh
  • Adds docs/homebrew-core-prerequisites.md for a future homebrew-core submission

Install

brew tap smartcontractkit/cre-cli https://github.com/smartcontractkit/cre-cli
brew install cre

Test plan

  • brew tap smartcontractkit/cre-cli https://github.com/smartcontractkit/cre-cli && brew install cre
  • brew test cre and brew audit --strict cre
  • Confirm Homebrew CI passes on PR
  • Confirm formula auto-updates after the next published release

- Added "End-user Installation" section to README with Homebrew installation instructions.
- Introduced GitHub Actions workflow for Homebrew formula updates on release.
- Created Homebrew formula for `cre` with versioning and checksums.
- Added documentation for Homebrew core prerequisites and submission checklist.
- Updated install script to suggest Homebrew installation if detected.
- Implemented a script to automate Homebrew formula updates based on GitHub releases.
Comment thread .github/workflows/homebrew.yml Fixed
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.

2 participants