Skip to content

Commit 24d257e

Browse files
committed
Copy major and minor commit message patterns in BranchConfig copy constructor
1 parent 42a2a1e commit 24d257e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GitVersionCore/Configuration/BranchConfig.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ public BranchConfig(BranchConfig branchConfiguration)
1616
PreventIncrementOfMergedBranchVersion = branchConfiguration.PreventIncrementOfMergedBranchVersion;
1717
TagNumberPattern = branchConfiguration.TagNumberPattern;
1818
TrackMergeTarget = branchConfiguration.TrackMergeTarget;
19+
MajorVersionBumpMessage = branchConfiguration.MajorVersionBumpMessage;
20+
MinorVersionBumpMessage = branchConfiguration.MinorVersionBumpMessage;
1921
PatchVersionBumpMessage = branchConfiguration.PatchVersionBumpMessage;
2022
CommitMessageVersionBumpMode = branchConfiguration.CommitMessageVersionBumpMode;
2123
}

0 commit comments

Comments
 (0)