Skip to content

Commit ca61a26

Browse files
committed
Added a few more of the legacy regexes in for the upgrade error
1 parent b725ab8 commit ca61a26

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/GitVersionCore/Configuration/LegacyConfigNotifier.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ public class LegacyConfigNotifier
1717
{ConfigurationProvider.ReleaseBranchRegex, ConfigurationProvider.ReleaseBranchKey},
1818
{ConfigurationProvider.SupportBranchRegex, ConfigurationProvider.SupportBranchKey},
1919
{ConfigurationProvider.PullRequestRegex, ConfigurationProvider.PullRequestBranchKey},
20-
{"release[/-]", ConfigurationProvider.ReleaseBranchKey}
20+
{"release[/-]", ConfigurationProvider.ReleaseBranchKey},
21+
{"hotfix[/-]", ConfigurationProvider.HotfixBranchKey },
22+
{"feature(s)?[/-]", ConfigurationProvider.FeatureBranchKey },
23+
{"feature[/-]", ConfigurationProvider.FeatureBranchKey }
2124
};
2225

2326
public static void Notify(StringReader reader)

0 commit comments

Comments
 (0)