@@ -47,7 +47,7 @@ public static void ApplyDefaultsTo(Config config)
47
47
defaultIncrementStrategy : IncrementStrategy . Inherit ) ;
48
48
ApplyBranchDefaults ( config , GetOrCreateBranchDefaults ( config , "hotfix(es)?[/-]" ) , defaultTag : "beta" ) ;
49
49
ApplyBranchDefaults ( config , GetOrCreateBranchDefaults ( config , "support[/-]" ) , defaultTag : string . Empty , defaultPreventIncrement : true ) ;
50
- ApplyBranchDefaults ( config , GetOrCreateBranchDefaults ( config , "dev(elop)?(ment)?$" ) ,
50
+ ApplyBranchDefaults ( config , GetOrCreateBranchDefaults ( config , "dev(elop)?(ment)?$" ) ,
51
51
defaultTag : "unstable" ,
52
52
defaultIncrementStrategy : IncrementStrategy . Minor ,
53
53
defaultVersioningMode : VersioningMode . ContinuousDeployment ,
@@ -66,10 +66,10 @@ static void MigrateBranches(Config config)
66
66
// Map of current names and previous names
67
67
var dict = new Dictionary < string , string [ ] >
68
68
{
69
- { "hotfix(es)?[/-]" , new [ ] { "hotfix[/-]" } } ,
70
- { "features?[/-]" , new [ ] { "feature[/-]" } } ,
71
- { "releases?[/-]" , new [ ] { "release[/-]" } } ,
72
- { "dev(elop)?(ment)?$" , new [ ] { "develop" } }
69
+ { "hotfix(es)?[/-]" , new [ ] { "hotfix[/-]" } } ,
70
+ { "features?[/-]" , new [ ] { "feature[/-]" , "feature(s)?[/-]" } } ,
71
+ { "releases?[/-]" , new [ ] { "release[/-]" } } ,
72
+ { "dev(elop)?(ment)?$" , new [ ] { "develop" } }
73
73
} ;
74
74
75
75
foreach ( var mapping in dict )
@@ -101,7 +101,7 @@ static BranchConfig GetOrCreateBranchDefaults(Config config, string branch)
101
101
}
102
102
103
103
public static void ApplyBranchDefaults ( Config config ,
104
- BranchConfig branchConfig ,
104
+ BranchConfig branchConfig ,
105
105
string defaultTag = "useBranchName" ,
106
106
IncrementStrategy defaultIncrementStrategy = IncrementStrategy . Patch ,
107
107
bool defaultPreventIncrement = false ,
0 commit comments