feat: add Homebrew installer via cargo-dist#113
feat: add Homebrew installer via cargo-dist#113Bortlesboat wants to merge 1 commit intogoogleworkspace:mainfrom
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
🦋 Changeset detectedLatest commit: c3aadbe The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
I have signed the Google CLA — please re-check. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #113 +/- ##
==========================================
- Coverage 54.95% 54.94% -0.02%
==========================================
Files 37 37
Lines 12218 12222 +4
==========================================
Hits 6715 6715
- Misses 5503 5507 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
a98e387 to
c3aadbe
Compare
Enable the cargo-dist homebrew installer so users can install via: brew tap googleworkspace/homebrew-tap brew install gws The tap repository needs to be created at googleworkspace/homebrew-tap for the release workflow to push the formula automatically. Addresses googleworkspace#90
c3aadbe to
36e8d71
Compare
Summary
homebrewinstaller indist-workspace.tomlgoogleworkspace/homebrew-tapAddresses #90
How it works
cargo-dist natively supports Homebrew — adding
"homebrew"to the installers list makes the release workflow automatically generate and push a Homebrew formula to the configured tap repo.Prerequisites
A
googleworkspace/homebrew-taprepository needs to be created on GitHub (can be empty) with write access from the release workflow. The tap name is configurable — happy to adjust if the team prefers a different naming convention.Usage (after setup)
Test plan