You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
newobject[]{"Merge pull request #1234 from feature/one from feature/two to dev","feature/two",null,null,1234},
125
-
newobject[]{"Merge pull request #1234 in feature/one from feature/two to dev","feature/two",null,null,1234},
126
-
newobject[]{"Merge pull request #1234 in v4.0.0 from v4.1.0 to dev","v4.1.0",null,newSemanticVersion(4,1),1234},
127
-
newobject[]{"Merge pull request #1234 in V4.0.0 from V4.1.0 to dev","V4.1.0",null,newSemanticVersion(4,1),1234},
128
-
newobject[]{"Merge pull request #1234 from origin/feature/one from origin/feature/4.2/two to dev","origin/feature/4.2/two",null,newSemanticVersion(4,2),1234},
129
-
newobject[]{"Merge pull request #1234 in feature/4.1/one from feature/4.2/two to dev","feature/4.2/two",null,newSemanticVersion(4,2),1234},
130
-
newobject[]{"Merge pull request #1234 in feature/4.1/one from feature/4.2/two to dev into master","feature/4.2/two","master",newSemanticVersion(4,2),1234},
131
-
newobject[]{"Merge pull request #1234 in V4.1.0 from V://10.10.10.10 to dev","V://10.10.10.10",null,null,1234},
120
+
newobject[]{"Merge pull request #1234 from feature/one from feature/two to dev","feature/two","dev",null,1234},
121
+
newobject[]{"Merge pull request #1234 in feature/one from feature/two to dev","feature/two","dev",null,1234},
122
+
newobject[]{"Merge pull request #1234 in v4.0.0 from v4.1.0 to dev","v4.1.0","dev",newSemanticVersion(4,1),1234},
123
+
newobject[]{"Merge pull request #1234 in V4.0.0 from V4.1.0 to dev","V4.1.0","dev",newSemanticVersion(4,1),1234},
124
+
newobject[]{"Merge pull request #1234 from origin/feature/one from origin/feature/4.2/two to dev","origin/feature/4.2/two","dev",newSemanticVersion(4,2),1234},
125
+
newobject[]{"Merge pull request #1234 in feature/4.1/one from feature/4.2/two to dev","feature/4.2/two","dev",newSemanticVersion(4,2),1234},
126
+
newobject[]{"Merge pull request #1234 in feature/4.1/one from feature/4.2/two to dev","feature/4.2/two","dev",newSemanticVersion(4,2),1234},
127
+
newobject[]{"Merge pull request #1234 from feature/one from feature/two to master","feature/two","master",null,1234},
128
+
newobject[]{"Merge pull request #1234 in V4.1.0 from V://10.10.10.10 to dev","V://10.10.10.10","dev",null,1234},
132
129
//TODO: Investigate successful bitbucket merge messages that may be invalid
133
130
// Regex has double 'from/in from' section. Is that correct?
134
-
newobject[]{"Merge pull request #1234 in feature/4.1/one from feature/4.2/two to dev","feature/4.2/two",null,newSemanticVersion(4,2),1234},
135
-
newobject[]{"Merge pull request #1234 from feature/one from v4.0.0 to master","v4.0.0",null,newSemanticVersion(4),1234},
136
-
// target branch is not resolved from targetbranch group
137
-
newobject[]{"Merge pull request #1234 from feature/one from feature/two to master","feature/two",null,null,1234},
138
-
// Should an empty PR number be valid?
139
-
newobject[]{"Merge pull request # in feature/one from feature/two to master","feature/two",null,null,0}
131
+
newobject[]{"Merge pull request #1234 in feature/4.1/one from feature/4.2/two to dev","feature/4.2/two","dev",newSemanticVersion(4,2),1234},
132
+
newobject[]{"Merge pull request #1234 from feature/one from v4.0.0 to master","v4.0.0","master",newSemanticVersion(4),1234}
newMergeMessagePattern("Default",@"^Merge (branch|tag) '(?<SourceBranch>[^']*)'(?: into (?<TargetBranch>[^\s]*))*"),
12
+
newMergeMessagePattern("SmartGit",@"^Finish (?<SourceBranch>[^\s]*)(?: into (?<TargetBranch>[^\s]*))*"),
13
+
newMergeMessagePattern("BitBucketPull",@"^Merge pull request #(?<PullRequestNumber>\d+) (from|in) (?<Source>.*) from (?<SourceBranch>[^\s]*) to (?<TargetBranch>[^\s]*)"),
14
+
newMergeMessagePattern("GitHubPull",@"^Merge pull request #(?<PullRequestNumber>\d+) (from|in) (?:(?<SourceBranch>[^\s]*))(?: into (?<TargetBranch>[^\s]*))*"),
15
+
newMergeMessagePattern("RemoteTracking",@"^Merge remote-tracking branch '(?<SourceBranch>[^\s]*)'(?: into (?<TargetBranch>[^\s]*))*")
0 commit comments