You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a somewhat specific usecase where I would need to ignore some tags following a pattern when calculating the next version.
My approach would be to add build metadata to those commits so that they can be ignored later.
Example:
With this git log I would like to be able to run autotag and ignore the commits with meta so the next version in this example would be "v0.1.0".
My idea would be to add a "--ignore" option ("-i" for short) which allows specifying a pattern like "*meta*" to match the tag name against.
What do you think of it, would this be possible?
Thanks in advance :)
The text was updated successfully, but these errors were encountered:
Hrm would having the option to ignore any segment ? I.e. --ignore metadata --ignore prerelease --ignore patch I get that having a regex is more flexible, but this may be easier to use out of the gate. @joemiller do you have any thoughts on this one ?
Just to confirm I understood you right, your suggestion would be to add an option like --ignore-metadata meta to ignore tags that have "meta" as metadata on them when calculating the next version right?
Generally speaking this would be fine with me. I just thaught that a regex might be easier from an implementation point of view and like you said more flexible.
Hi, first of all thanks for this cool project.
I have a somewhat specific usecase where I would need to ignore some tags following a pattern when calculating the next version.
My approach would be to add build metadata to those commits so that they can be ignored later.
Example:
With this git log I would like to be able to run autotag and ignore the commits with meta so the next version in this example would be "v0.1.0".
My idea would be to add a "--ignore" option ("-i" for short) which allows specifying a pattern like "*meta*" to match the tag name against.
What do you think of it, would this be possible?
Thanks in advance :)
The text was updated successfully, but these errors were encountered: