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
Currently, the Regex matches against this pattern:
@"[vV]?(?(?\d+)(.(?\d+))?(.(?\d+))?)(.(?\d+))?(-(?[^+]))?(+(?.))?"
What are your thoughts on making this configurable? Our current repository has hundred of tags used for other purposes, so I'd like to prevent GitVersion from picking up the wrong tags.
Also, when fetching the list of tags, you trim the 'v' from the name before running it through the parser. Is this necessary, if the regex contains the [vV]?
The text was updated successfully, but these errors were encountered:
This will be closed by #302 which has the tag-prefix option and supports a Regex being specified for the prefix. So you can put (version-|v|V) or whatever you want.
The SemanticVersion class will no longer strip the [vV] from the front. By the time the version string gets to that class it should be a clean version number.
Currently, the Regex matches against this pattern:
@"[vV]?(?(?\d+)(.(?\d+))?(.(?\d+))?)(.(?\d+))?(-(?[^+]))?(+(?.))?"
What are your thoughts on making this configurable? Our current repository has hundred of tags used for other purposes, so I'd like to prevent GitVersion from picking up the wrong tags.
Also, when fetching the list of tags, you trim the 'v' from the name before running it through the parser. Is this necessary, if the regex contains the [vV]?
The text was updated successfully, but these errors were encountered: