We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f8a4a2e + 636e70d commit 6bf4319Copy full SHA for 6bf4319
src/GitVersionCore/VersionCalculation/MainlineVersionCalculator.cs
@@ -120,7 +120,7 @@ static Commit GetMainlineTip(GitVersionContext context)
120
var mainlineBranches = context.Repository.Branches
121
.Where(b =>
122
{
123
- return mainlineBranchConfigs.Any(c => Regex.IsMatch(b.FriendlyName, c.Key));
+ return mainlineBranchConfigs.Any(c => Regex.IsMatch(b.FriendlyName, c.Value.Regex));
124
})
125
126
0 commit comments