First time contributing to Homebrew? Read our Code of Conduct.
brew update
(twice)brew doctor
foo
formulafoo
.brew bump-formula-pr --strict foo
with --url=...
and --sha256=...
or --tag=...
and --revision=...
arguments.foo
version 2.3.4
from $URL
brew create $URL
and make editsbrew install --build-from-source foo
brew audit --new-formula foo
git commit
with message formatted foo 2.3.4 (new formula)
foo
formulaIf you are already well versed in the use of git
, then you can find the local copy of the homebrew-core
repository in this directory ($(brew --prefix)/Homebrew/Library/Taps/homebrew/homebrew-core/
), modify the formula there leaving the section bottle do ... end
unchanged, and prepare a pull request as you usually do. Before submitting your pull request, be sure to test it with these commands:
brew uninstall --force foo brew install --build-from-source foo brew test foo brew audit --strict foo
After testing, if you think it is needed to force the corresponding bottles to be rebuilt and redistributed, add a line of the form revision 1
to the formula, or add 1 to the revision number already present.
If you are not already well versed in the use of git
, then you may learn about it from the introduction at https://docs.brew.sh/How-To-Open-a-Homebrew-Pull-Request and then proceed as follows:
brew edit foo
and make editsbottle do ... end
unchangedgit commit
with message formatted foo <insert new version number>
or foo: <insert details>
Thanks!