Closed tisba closed 7 months ago
Turns out out brew uses custom self-hosted runners, @cantino lets merge this.
https://brew.sh/2022/09/15/homebrew-maintainer-projects-update/
Thanks @praveenperera, but I'm a little unclear on what I need to do. After having merged this, how do I update homebrew when I do a GitHub release? Just the brew bump-formula-pr
command or do we need to integrate a runner somehow too?
@cantino I think we just take out the custom tap and let home-brew make updates. Seems like they update their tap automatically. https://github.com/Homebrew/homebrew-core/pull/147318
And if not we can make a PR in their repo.
Okay let's try it.
And remove cantino/homebrew-mcfly too?
See revert, I need to think about this and test it a bit more.
➜ mcfly git:(master) ✗ brew bump-formula-pr --url https://github.com/cantino/mcfly/archive/refs/tags/v0.8.3.tar.gz mcfly
Error: No available formula with the name "mcfly".
➜ mcfly git:(master) ✗ brew bump-formula-pr --url https://github.com/cantino/mcfly/archive/refs/tags/v0.8.3.tar.gz cantino/mcfly
Error: No available formula with the name "cantino/mcfly".
Ideas?
See https://github.com/cantino/mcfly/issues/122
As discussed in https://github.com/cantino/mcfly/issues/122 the custom homebrew tap can probably just be dropped. This is just a suggestion, @cantino :)
I'm not quite sure how Homebrew does updates to bottled Formula these days.
mcfly
's Formula lives at https://github.com/Homebrew/homebrew-core/blob/master/Formula/m/mcfly.rb. There isbrew bump-formula-pr
which should probably do most of the work, I haven't used it in a while though (see https://docs.brew.sh/How-To-Open-a-Homebrew-Pull-Request#submit-a-new-version-of-an-existing-formula).I -think- all you have to do is (with the version replaced obviously):