- Version numbers in branches other than
release
branches are no longer considered as a version source by default. Implemented in #1541. - #1581 folds
GitTools.Core
back into GitVersion to make maintaining GitVersion easier.
When using GitFlow, a few things have changed. Hopefully the new settings just work for you
develop
has pre-release tag ofalpha
now, not unstable.develop
will bump as soon as arelease
branch is created.- Look at the GitFlow examples for details of how it works now.
GitVersionConfig.yaml
is deprecated in favor ofGitVersion.yml
.- Regular expressions are no longer used as keys in branch config
- We have named branches, and introduced a
regex
config which you can override. - The default keys are:
master
,develop
,feature
,release
,pull-request
,hotfix
andsupport
- Just run
GitVersion.exe
in your project directory and it will tell you what to change your config keys to - For example,
dev(elop)?(ment)?$
is now justdevelop
, we suggest not overring regular expressions unless you really want to use a different convention.
- We have named branches, and introduced a
source-branches
added as a configuration option for branches, it helps GitVersion pick the correct source branch
- NextVersion.txt has been deprecated, only
GitVersionConfig.yaml
is supported AssemblyFileSemVer
variable removed,AssemblyVersioningScheme
configuration value makes this variable obsolete- Variables
ClassicVersion
andClassicVersionWithTag
removed - MSBuild task arguments (
AssemblyVersioningScheme
,DevelopBranchTag
,ReleaseBranchTag
,TagPrefix
,NextVersion
) have been removed, useGitVersionConfig.yaml
instead - GitVersionTask's
ReleaseDateAttribute
no longer exists