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'm testing out a config on 6.0.0-beta.7, and I'm somewhat curious if what I'm seeing is intended or not, as I don't see anything obvious in the docs about this.
0.1.1-beta.1 # This is desired
0.1.1-beta-bravo.1 # This is almost desired, but `-bravo` should be `.bravo`
So, it looks like that regex uses the GitVersion_EscapedBranchName value rather than the GitVersion_BranchName. Is this intended (the docs don't really mention this)? If this is intended, is there a way to achieve the outcome I'm looking for with my additional branch suffix?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm testing out a config on 6.0.0-beta.7, and I'm somewhat curious if what I'm seeing is intended or not, as I don't see anything obvious in the docs about this.
For reference I have two branches:
Branch A:
Branch "bravo"
My base config (simplified) looks like:
My objective is that
GitVersion_SemVer
, should become:When I try to use a capturing group regex that would match
GitVersion_BranchName
,I see odd outcomes:
But, when I use a capturing group regex that would match
GitVersion_EscapedBranchName
I see slightly more "correct" outcomes:
So, it looks like that
regex
uses theGitVersion_EscapedBranchName
value rather than theGitVersion_BranchName
. Is this intended (the docs don't really mention this)? If this is intended, is there a way to achieve the outcome I'm looking for with my additional branch suffix?Beta Was this translation helpful? Give feedback.
All reactions