Skip to content

Commit 2515f40

Browse files
author
Ruh Ullah Shah
committed
Decrease the default pre-release-weight for final branches
1 parent 6fd3183 commit 2515f40

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/GitVersionCore.Tests/ConfigProviderTests.CanWriteOutEffectiveConfiguration.approved.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ branches:
3737
tracks-release-branches: false
3838
is-release-branch: false
3939
is-mainline: true
40-
pre-release-weight: 60000
40+
pre-release-weight: 55000
4141
release:
4242
mode: ContinuousDelivery
4343
tag: beta
@@ -118,7 +118,7 @@ branches:
118118
tracks-release-branches: false
119119
is-release-branch: false
120120
is-mainline: true
121-
pre-release-weight: 60000
121+
pre-release-weight: 55000
122122
ignore:
123123
sha: []
124124
commit-date-format: yyyy-MM-dd

src/GitVersionCore/Configuration/ConfigurationProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ public class ConfigurationProvider
3636
{ ReleaseBranchRegex, 30000 },
3737
{ FeatureBranchRegex, 30000 },
3838
{ PullRequestRegex, 30000 },
39-
{ SupportBranchRegex, 60000 },
40-
{ MasterBranchRegex, 60000 }
39+
{ SupportBranchRegex, 55000 },
40+
{ MasterBranchRegex, 55000 }
4141
};
4242

4343
private const IncrementStrategy DefaultIncrementStrategy = IncrementStrategy.Inherit;

0 commit comments

Comments
 (0)