File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
src/GitVersionCore.Tests/IntegrationTests Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,24 @@ public class MainlineDevelopmentMode : TestBase
20
20
VersioningMode = VersioningMode . Mainline
21
21
} ;
22
22
23
+ [ Test ]
24
+ public void VerifyNonMasterMainlineVersionIdenticalAsMaster ( )
25
+ {
26
+ using var fixture = new EmptyRepositoryFixture ( ) ;
27
+ fixture . Repository . MakeACommit ( "1" ) ;
28
+
29
+ fixture . BranchTo ( "feature/foo" , "foo" ) ;
30
+ fixture . MakeACommit ( "2 +semver: major" ) ;
31
+ fixture . Checkout ( "master" ) ;
32
+ fixture . MergeNoFF ( "feature/foo" ) ;
33
+
34
+ fixture . AssertFullSemver ( "1.0.0" , config ) ;
35
+
36
+ fixture . BranchTo ( "support/1.0" , "support" ) ;
37
+
38
+ fixture . AssertFullSemver ( "1.0.0" , config ) ;
39
+ }
40
+
23
41
[ Test ]
24
42
public void MergedFeatureBranchesToMasterImpliesRelease ( )
25
43
{
You can’t perform that action at this time.
0 commit comments