Skip to content

Commit 4a1b591

Browse files
committed
Added some breaking changes info for v4
1 parent ca61a26 commit 4a1b591

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

BREAKING CHANGES.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
v4.0.0
2+
- When using GitFlow, a few things have changed. Hopefully the new settings just work for you
3+
- develop has pre-release tag of `alpha` now, not unstable
4+
- develop will bump as soon as a release branch is created
5+
- Look at the [GitFlow examples](http://gitversion.readthedocs.io/en/latest/git-branching-strategies/gitflow-examples/) for details of how it works now
6+
- Regex's are no longer used as keys in branch config
7+
- We have named branches, and introduced a `regex` config which you can override.
8+
- The default keys are: master, develop, feature, release, pull-request, hotfix, support
9+
- Just run GitVersion.exe in your project directory and it will tell you what to change your config keys to
10+
- For example, `dev(elop)?(ment)?$` is now just `develop`, we suggest not overring regex's unless you really want to use a different convention.
11+
112
v3.0.0
213
- NextVersion.txt has been deprecated, only GitVersionConfig.yaml is supported
314
- `AssemblyFileSemVer` variable removed, AssemblyVersioningScheme configuration value makes this variable obsolete

src/GitVersionCore/Configuration/ConfigurationProvider.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public class ConfigurationProvider
1313

1414
public const string DefaultConfigFileName = "GitVersion.yml";
1515
public const string ObsoleteConfigFileName = "GitVersionConfig.yaml";
16+
1617
public const string ReleaseBranchRegex = "releases?[/-]";
1718
public const string FeatureBranchRegex = "features?[/-]";
1819
public const string PullRequestRegex = @"(pull|pull\-requests|pr)[/-]";

0 commit comments

Comments
 (0)