GitVersion
5.12Schema URL
GitVersion configuration schema
Properties
Specifies the format of AssemblyFileVersion and overwrites the value of assembly-file-versioning-scheme.
The scheme to use when setting AssemblyFileVersion attribute. Can be 'MajorMinorPatchTag', 'MajorMinorPatch', 'MajorMinor', 'Major', 'None'.
Specifies the format of AssemblyInformationalVersion. The default value is {InformationalVersion}.
Specifies the format of AssemblyVersion and overwrites the value of assembly-versioning-scheme.
The scheme to use when setting AssemblyVersion attribute. Can be 'MajorMinorPatchTag', 'MajorMinorPatch', 'MajorMinor', 'Major', 'None'.
The header for all the individual branch configuration.
The format to use when calculating the commit date. Defaults to 'yyyy-MM-dd'.
The header property for the ignore configuration.
2 nested properties
A sequence of SHAs to be excluded from the version calculations.
The regex to match commit messages with to perform a major version increment. Default set to '+semver:\s?(breaking|major)'
Custom merge message formats to enable identification of merge messages that do not follow the built-in conventions.
The regex to match commit messages with to perform a minor version increment. Default set to '+semver:\s?(feature|minor)'
Allows you to bump the next version explicitly. Useful for bumping main or a feature branch with breaking changes
Used to tell GitVersion not to increment when in Mainline development mode. . Default set to '+semver:\s?(none|skip)'
The regex to match commit messages with to perform a patch version increment. Default set to '+semver:\s?(fix|patch)'
A regex which is used to trim Git tags before processing. Defaults to [vV]
The pre-release weight in case of tagged commits. Defaults to 60000.
Whether to update the build number in the project file. Defaults to true.
Definitions
Sets whether it should be possible to increment the version with special syntax in the commit message. Can be 'Disabled', 'Enabled' or 'MergeMessageOnly'.
When using Mainline mode, this indicates that this branch is a mainline. By default main and support/* are mainlines.
Indicates this branch config represents a release branch in GitFlow.
The branches that this branch is a source branch.
Provides a way to translate the PreReleaseLabel to a number.
Prevent increment of merged branch version.
The regex pattern to use to match this branch.
The source branches for this branch.
The label to use for this branch. Can be 'useBranchName' to extract the label from the branch name.
The regex pattern to use to extract the number from the branch name. Defaults to '/-[-/]'.
Strategy which will look for tagged merge commits directly off the current branch.
Indicates this branch config represents develop in GitFlow.
The increment strategy for this branch. Can be 'Inherit', 'Patch', 'Minor', 'Major', 'None'.
The versioning mode for this branch. Can be 'ContinuousDelivery', 'ContinuousDeployment', 'Mainline'.
Commits before this date will be ignored. Format: yyyy-MM-ddTHH:mm:ss.
A sequence of SHAs to be excluded from the version calculations.