You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On macOS Sequoia 15 arm64, running brew install for any of these formulae should install "bottles" from this organization, which are basically pre-built packages for a certain OS & architecture.
What follows are some of my notes on how this is done.
Important
If you were getting errors such as these in the last 24 hours:
that was because I've messed things up in the process, but it should be fixed now. If you're still getting those errors consistently, please comment here or open a new issue. 🙏
Manually edit the bottle ... section in formula files to declare root_url "https://ghcr.io/v2/rbenv/tap"
git push
Notes:
brew bottle produces a *.tar.gz package and a *.bottle.json
brew pr-upload takes all *.bottle.json files, edits the local formulae to add the bottle ... section to them, and uploads the tarballs to GitHub Packages using HOMEBREW_GITHUB_PACKAGES_TOKEN
I've taken a stab at publishing Homebrew bottles for formula in this repo:
rbenv/tap/[email protected]
andrbenv/tap/[email protected]
On macOS Sequoia 15 arm64, running
brew install
for any of these formulae should install "bottles" from this organization, which are basically pre-built packages for a certain OS & architecture.What follows are some of my notes on how this is done.
Important
If you were getting errors such as these in the last 24 hours:
that was because I've messed things up in the process, but it should be fixed now. If you're still getting those errors consistently, please comment here or open a new issue. 🙏
How I did it
First off, my local environment:
The steps:
brew uninstall [email protected] [email protected]
brew install --build-bottle rbenv/tap/[email protected]
brew install --build-bottle rbenv/tap/[email protected]
brew bottle --json rbenv/tap/[email protected] --root-url="https://ghcr.io/v2/rbenv/tap"
brew bottle --json rbenv/tap/[email protected] --root-url="https://ghcr.io/v2/rbenv/tap"
brew pr-upload --root-url="https://ghcr.io/v2/rbenv/tap"
Manually edit thebottle ...
section in formula files to declareroot_url "https://ghcr.io/v2/rbenv/tap"
git push
Notes:
brew bottle
produces a*.tar.gz
package and a*.bottle.json
brew pr-upload
takes all*.bottle.json
files, edits the local formulae to add thebottle ...
section to them, and uploads the tarballs to GitHub Packages using HOMEBREW_GITHUB_PACKAGES_TOKENSee:
TODO
sha256
values in the "bottle" section mean and how to verify that the corresponding containers are actually available from ghcr.ioThe text was updated successfully, but these errors were encountered: