-
Notifications
You must be signed in to change notification settings - Fork 35
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
Allow for prefixed tags #18
Comments
Thanks for reporting! I'm not sure how to fix this. Here is our version-related code: https://github.com/mislav/bump-homebrew-formula-action/blob/main/src/version.ts
That sounds like a plausible approach, but how to expose this while at the same time making it easy to use? |
Maybe expose the regex as an input and retain its current value as the default? Would that work?
|
We ran into this issue as well and are unable to use it currently so I started a draft PR #38. |
Our issue (workflow run) is a little different but related as it is an issue with tag parsing and comparison. Skipping: the formula is already at version '@smartthings' |
I've finally taken a long look into this, and the problem of prefixed tags doesn't seem so hard. @john-u Thanks for reporting your case. In the scenario of @orf In the case of tag names such as |
When using cargo release with a Rust workspace (i.e one containing multiple projects) the tags are created as
[proj-name]-[version]
. For example:gping-v1.2.3
.This unfortunately causes this action to not work (see here), as it says
Skipping: the formula version 'v1.2.1' is newer than 'gping-v1.2.3'
.Is there a way around this? Perhaps by supplying some kind of regex to extract the version and ignore the prefix?
The text was updated successfully, but these errors were encountered: