2019-08-26
Shopify has a big-ish collection of semi-private homebrew packages and I frequently explain how to bump versions, so here it is. In general:
dev clone homebrew-shopifysecret-sendercurl $url | shasum -a 256 and
replace the sha256 in the file with that hash.brew uninstall <formula>.brew install --build-bottle ./<my-formula>.rb
(e.g. ./secret-sender.rb)brew bottle <my-formula>
(e.g. secret-sender, not
./secret-sender.rb)bottle do paragraph, and add another
line inside:
root_url "https://github.com/Shopify/<repo>/releases/download/<tag>.-- into
-. I have no idea why this part is necessary.brew uninstall <my-formula> and
brew install ./<my-formula>.rb to verify that it
correctly downloads the bottle from github.