Repository navigation
Use Homebrew's autobump for the cask-bump - #747
Conversation
91511df to
c9243b2
Compare
|
The result is somehow magic and no more understandable, where the new version appears suddenly by itself in brew. But we can give it a try... |
I see your point, but at the current state, if Homebrew change their template-format - our Homebrew releases may fail, and it may not be trivial to debug. |
Right, this was the case in the past Homebrew/homebrew-cask#280021 (luckily I received an email) and I solved it with #574 Do I receive emails in the future on issues concerning publish to https://github.com/Homebrew/homebrew-cask ? |
|
Good question 🙂 |
In the past it was not the same precondition, as a pull request already exists. At least that time, there was no no self-healing-automated solution after 3 hours (additional with a notification). |
|
How to test a failure to an automated publish to brew ? |
I'm not sure how you/we get notified about such issues, so closing this one for now. |
@goneng |
Stop maintaining a cask update that Homebrew already does on its own: the gitx cask is autobumped, so BrewTestBot opens the version bump PR for each release, and Homebrew reports any problem with it to us. - Remove the release job's steps that update Casks/g/gitx.rb and open the bump PR from a fork, which for 1.7 only duplicated the bot's - Remove scripts/update-homebrew-cask.sh, which only those steps used - Keep publishing the release and the Sparkle feed as they are
c9243b2 to
586153b
Compare
Stop maintaining a cask update that Homebrew already does on its own.
The
gitxcask is on Homebrew's autobump list (autobump=true), soBrewTestBot opens the version bump PR for each new GitHub release by itself,
and
brew bump-cask-prrefuses manual bumps for it.For 1.7 the two raced: BrewTestBot's Homebrew/homebrew-cask#291707 and
the release job's Homebrew/homebrew-cask#291706 opened in the same minute,
and Homebrew merged the bot's.
On being told when something goes wrong, a Homebrew maintainer answered in #291707
that they handle all bumps and failures, and notify upstream by
mentioning us in the PR or opening an issue here.
Changes
checking out homebrew-cask, updating
Casks/g/gitx.rb, fetching the PR template,and opening the PR from
hannesa2/homebrew-cask.scripts/update-homebrew-cask.sh(from Keep the Homebrew cask intact when its layout changes #752), which only those steps used.The release job no longer uses
PERSONALACCESSTOKEN, which nothing else in the workflows reads.Test plan
brew info --cask homebrew/cask/gitxreportsautobump=true, andbrew livecheckskips it with "autobumped in homebrew/cask".