File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
GitVersionCore.Tests/IntegrationTests/GitFlow Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,22 @@ public void WhenDevelopBranchedFromMaster_MinorIsIncreased()
1515 fixture . AssertFullSemver ( "1.1.0-unstable.0+0" ) ;
1616 }
1717 }
18+
19+ [ Test ]
20+ public void MergingReleaseBranchBackIntoDevelopWithoutMergingToMaster_DoesNotBumpDevelopVersion ( )
21+ {
22+ using ( var fixture = new EmptyRepositoryFixture ( new Config ( ) ) )
23+ {
24+ fixture . Repository . MakeATaggedCommit ( "1.0.0" ) ;
25+ fixture . Repository . CreateBranch ( "develop" ) . Checkout ( ) ;
26+ fixture . Repository . CreateBranch ( "release-2.0.0" ) . Checkout ( ) ;
27+ fixture . AssertFullSemver ( "2.0.0-beta.1+0" ) ;
28+ fixture . Repository . Checkout ( "develop" ) ;
29+ fixture . AssertFullSemver ( "1.1.0-unstable.0+0" ) ;
30+ fixture . Repository . MergeNoFF ( "release-2.0.0" , Constants . SignatureNow ( ) ) ;
31+ fixture . AssertFullSemver ( "1.1.0-unstable.0+0" ) ;
32+ }
33+ }
1834
1935 [ Test ]
2036 public void CanChangeDevelopTagViaConfig ( )
You can’t perform that action at this time.
0 commit comments