Bumping formula in custom tap that provides bottles from GitHub Releases #5738
Unanswered
rgoldberg
asked this question in
Tap maintenance and brew development
Replies: 1 comment 1 reply
-
That will automatically update when you use the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of
brew config
Output of
brew doctor
Description of issue
I am trying to maintain a custom tap that provides bottles from GitHub Releases.
What is the best way to use
brew bump-formula-pr
to easily update a formula from a custom tap?I know of 3 places where the formula must be updated besides SHA 256 checksums.
brew bump-formula-pr …
properly updates 2 of the 3, namely thetag:
&revision:
arguments for theurl
method, e.g.:The formula also uses a
root_url
in thebottle
block to specify the URL to the online GitHub Releases directory containing the bottles:Unfortunately,
brew bump-formula-pr …
doesn't update the version in that URL.What is the best way to ensure that the bottle URLs are correct? Should I still use
root_url
?When I tried to use
#{version}
:I got:
Will using a pull label (default being
pr-pull
) automatically update the SHA 256 checksums for the formula, or must I setup some other methodology to update SHA 256 checksums?Beta Was this translation helpful? Give feedback.
All reactions