Skip to content

Commit a1b45fa

Browse files
Casper Schmidt Wandahl-Liperarturcic
authored andcommitted
Fix regular expression for unknown branches
1 parent 8cc191d commit a1b45fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitVersion.Core/Configuration/ConfigurationConstants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ internal static class ConfigurationConstants
2323
public const string PullRequestBranchRegex = @"^(pull|pull\-requests|pr)[/-]";
2424
public const string HotfixBranchRegex = "^hotfix(es)?[/-]";
2525
public const string SupportBranchRegex = "^support[/-]";
26-
public const string UnknownBranchRegex = "(?<BranchName>.*)";
26+
public const string UnknownBranchRegex = "(?<BranchName>.+)";
2727
}

0 commit comments

Comments
 (0)