BrewTestBot will auto-detect new releases and update automatically. https://github.com/orgs/Homebrew/discussions/3083
In the past, we had to:
- Install brew locally.
- Setup repo
cd Workspaces
git clone [email protected]:fishi0x01/homebrew-core.git
mkdir -p $(brew --repository homebrew/core)
rm -r $(brew --repository homebrew/core)
ln -s $(pwd)/homebrew-core $(brew --repository homebrew/core)
cd $(brew --repository homebrew/core)
brew bump-formula-pr --sha256 713d8f8901c7fc3b2c9c620ce928fa17e3b5a5f949d0dd37ad5ad48ae46dab4b --url https://github.com/fishi0x01/vsh/archive/refs/tags/v0.12.2.tar.gz vsh
You need a github API token -> the tool will generate a link to create one.