-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Homebrew Cask #42
Comments
Hi, I don't have experience with updating casks. I'm not opposed to the feature. What fields do you typically need updated when bumping a cask formula? |
Great! It seems like currently there is no working GitHub Action to update casks. I don't have that much experience with Homebrew formulas or casks, but I believe that In my cask repo we just update |
@MWin123 This Action should already have the ability to update those fields in a file in theory. You can also use the bump-homebrew-formula-action/src/main.ts Line 76 in dfea670
|
Thanks, I just tested the action with Unfortunately, there was one problem.
Currently, it uses the following version "2.4.0"
sha256 "..."
url "https://github.com/patschuh/KafkaEsque/releases/download/v#{version}/kafkaesque-#{version}.dmg" This solution passes Is it possible to just update the Sorry my late reply. Edit: I forked this repo, and commented out the following line.
With the forked action it works as expected. It doesn't replace the If you decided to add explicit support for Homebrew casks, a feature toggle could be used to disable the |
@MWin123 Thanks for the deep dive into this and for sharing your solution. I think you could set addition parameters to get around your problem: formula-path: Casks/mycask.rb
download-url: https://github.com/patschuh/KafkaEsque/releases/download/v#{version}/kafkaesque-#{version}.dmg
download-sha256: <CHECKSUM> assuming that the If embedding |
I'm not sure if I'm missing something but where would I get the checksum from?
I randomly clicked on a few casks in the official cask repo, and they all had a |
I sometimes see this action when I'm merging cask PR's: Might be good for inspiration 😄 |
Hi,
are there any plans to add support for Homebrew casks?
According to How to Open a Homebrew Pull Request there is a cask version of
brew bump-formula-pr
as well, i.e.,brew bump-cask-pr
.The text was updated successfully, but these errors were encountered: