mislav / bump-homebrew-formula-action

Automatically bump Homebrew formula after a release
The Unlicense
166 stars 32 forks source link

Need way to force update the formula, even if version is the same #166

Open JetForMe opened 4 months ago

JetForMe commented 4 months ago

I just set up a workflow using this action, but I ran into an issue. I need to be able to run and re-run my workflow to debug it, but I don't want to create a new tag each time. But the action failed with

Skipping: the formula is already at version '0.0.1'

Is there a way to have it update the formula anyway (in particular, update the sha256 and URL)?

michidk commented 1 hour ago

Hey, I had the same problem. Quickly made a PR which allows updates if the version is the same: https://github.com/michidk/bump-homebrew-formula-action

It's a bit sketchy as I just removed the check, I hope we see a proper implementation here at some point.