colima
colima copied to clipboard
Automate homebrew bump
It's important to make the homebrew bump a part of the release process. Today's release is not yet in homebrew. Thanks!
Am I missing something? https://github.com/Homebrew/homebrew-core/pull/101581
Your work is so much appreciated... but the v0.4.0 bump was not apparently created by an automated process, https://github.com/Homebrew/homebrew-core/pull/101581 - and it was not there many hours after the release when I first went to go test. I see that you (apparently manually?) created https://github.com/Homebrew/homebrew-core/pull/101672 for v0.4.1 (thanks) and it's now out there.
I'm just saying let's make sure that the bump gets done as a part of the release process and as soon after release as possible, and preferably that it's an automated part of the process.
I understand your point, I was only referring to the latter part of your statement i.e. the release was live hours before this issue was created.
But yeah, I do agree that it should be automated.
May I ask why the old versions of colima are removed from homebrew? I was testing something on colima 0.3.4 and got it working, but colleagues of mine couldn't download 0.3.4 as 0.4.x was published and was the only version available, even with brew install [email protected]
(and the solution didn't work with 0.4.0/0.4.1, I got it to work again on 0.4.2 luckily).
@SuperFola, Sadly, that's just the way homebrew works these days. You used to be able to switch versions to older versions (brew switch
) but they removed that a year or so ago, I think in the name of being able to have consistent dependencies. Made me very sad.
Hey @abiosoft , I remembered another project that was doing something this in their Github Actions: Espanso. It looks like it's for homebrew cask. I'm not sure how that's different from "normal" homebrew.
https://github.com/espanso/espanso/blob/930bf807b5802218adff3d0a73e339233182e6dc/.github/workflows/release.yml#L236 Basically it pushes the build info to a separate repo (homebrew-espanso), and app versions have links back to the original repo.