Skip to content

Commit

Permalink
replace any underscores that came in through group matches
Browse files Browse the repository at this point in the history
  • Loading branch information
vinnyrose authored Jul 31, 2024
1 parent 47753c5 commit 46b0027
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/GitVersion.Core/Extensions/ConfigurationExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ public static bool IsReleaseBranch(this IGitVersionConfiguration configuration,
{
label = label.Replace("{" + groupName + "}", match.Groups[groupName].Value);
}

label = label.Replace('_', '-');
}
}

Expand Down

0 comments on commit 46b0027

Please sign in to comment.