-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGitVersion.yml
More file actions
31 lines (27 loc) · 1.89 KB
/
GitVersion.yml
File metadata and controls
31 lines (27 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# next-version: 1.0 # Force a version
mode: ContinuousDelivery # Versioning mode (ContinuousDelivery, ContinuousDeployment, Mainline)
assembly-versioning-scheme: MajorMinorPatch # The versioning scheme for assembly versioning
assembly-file-versioning-scheme: MajorMinorPatch # The versioning scheme for assembly file versioning
assembly-informational-format: '{InformationalVersion}' # Defines the format for informational versioning
increment: Inherit # Inherits the version increment from the last tagged version (Major, Minor, Patch, None, Inherit)
no-bump-message: '\+semver:\s?(none|skip)' # Defines the message pattern that won't trigger version increments
tag-pre-release-weight: 60000 # Specifies the weight for pre-release tags
tag-prefix: '[vV]' # Sets the prefix for version tags
update-build-number: true # Updates the build number with each build
merge-message-formats: {} # Defines merge message formats
#
# Conventional Commits / Semantic Commits
#
# Defines the regex pattern for detecting major version bump commit messages
commit-message-incrementing: Enabled # Enables incrementing of the version based on commit messages
major-version-bump-message: "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\\([\\w\\s-]*\\))?(!:|:.*\\n\\n((.+\\n)+\\n)?BREAKING CHANGE:\\s.+)"
minor-version-bump-message: "^(feat)(\\([\\w\\s-]*\\))?:"
patch-version-bump-message: "^(build|chore|ci|docs|fix|perf|refactor|revert|style|test)(\\([\\w\\s-]*\\))?:"
#
# DEPRECATED
#
#build-metadata-padding: 4 # The padding for build metadata
#commits-since-version-source-padding: 4 # Sets the padding for the number of commits since the version source
#continuous-delivery-fallback-tag: ci # Specifies the fallback tag used in Continuous Delivery mode
#continuous-delivery-fallback-label: ci # Specifies the fallback tag used in Continuous Delivery mode
#legacy-semver-padding: 4 # The padding for legacy SemVer versions