Skip to content
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

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

Open
JetForMe opened this issue Apr 19, 2024 · 2 comments
Open

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

JetForMe opened this issue Apr 19, 2024 · 2 comments

Comments

@JetForMe
Copy link

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
Copy link

michidk commented Sep 14, 2024

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.

@mislav
Copy link
Owner

mislav commented Oct 11, 2024

Hi, I see now that this check is causing more problems than it's solving, and I'm up for removing it. You are welcome to send a PR! @michidk: your code change looks good but your branch is not mergeable to main as-is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants