Skip to content

Commit ad5f11d

Browse files
committed
Change breaking change documentation and remove WithLabelPrefix in unit test
1 parent a19cfcb commit ad5f11d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

BREAKING_CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
* A new branch related property with name `track-merge-message` has been introduced. Consider we have a `main` branch and a `release/1.0.0` branch and merge changes from `release/1.0.0` to the main branch. In this scenario the merge message will be interpreted as a next version `1.0.0` when `track-merge-message` is set to `true` otherwise `0.0.1`.
2626
* The pre-release tags are only considered when they are matching with the label name of the branch. This has an effect on the way how the `CommitCountSource` will be determined.
2727
* The process of increasing the version with bump message when `CommitMessageIncrementing` is enabled and increment strategy is `None` has been changed.
28+
* A new configuration property with name `version-in-branch-pattern` has been introduced. This setting only applies on branches where the option `is-release-branch` is set to `true`. Please notice that the branch name needs to be defined after the version number by default (instead of `support/lts-2.0.0` please name the branch like `support/2.0.0-lts`).
29+
* The `is-release-branch` property of the `hotfix` branch setting has been changed from `false` to `true`. If present the hotfix number will be considered now by default.
2830
2931
## v5.0.0
3032

src/GitVersion.Core.Tests/VersionCalculation/Strategies/VersionInBranchNameBaseVersionStrategyTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ public void CanTakeVersionFromNameOfConfiguredReleaseBranch(string branchName, s
8282
var repository = fixture.Repository.ToGitRepository();
8383

8484
var configuration = GitFlowConfigurationBuilder.New
85-
.WithLabelPrefix("([vV]|lts-)?")
8685
.WithBranch("support", builder => builder.WithIsReleaseBranch(true))
8786
.Build();
8887
ConfigurationHelper configurationHelper = new(configuration);

0 commit comments

Comments
 (0)