Last active
April 22, 2020 12:32
-
-
Save zionyx/019168bd312779346b93b7d3214ac80b to your computer and use it in GitHub Desktop.
GitVersion.yml v2 - DEKA-717
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This property allows you to bump the next version explicitly. Also serves as base version. | |
# Uncomment to use. For more details: https://confluence.3shape.com/x/L44_C | |
#next-version: | |
# DEKA-817: Using standard GitVersion commit message to increment SemVer | |
# For complete instructions on how to use this, see https://confluence.3shape.com/x/00zfBw | |
commit-message-incrementing: Enabled | |
major-version-bump-message: '\+semver:\s?(breaking|major)' | |
minor-version-bump-message: '\+semver:\s?(feature|minor)' | |
patch-version-bump-message: '\+semver:\s?(fix|patch)' | |
no-bump-message: '\+semver:\s?(none|skip)' | |
# Tag prefixes to [vV]XX.YY.ZZ | |
# Eg: ✔ v1.0.0, V2.3.4 | |
# ✖ 1.0.0 | |
tag-prefix: '[vV]' | |
# Default versioning mode. Read more: https://gitversion.net/docs/reference/versioning-modes/ | |
mode: ContinuousDeployment | |
# Branch configurations | |
# For more customizations, see https://gitversion.net/docs/configuration | |
branches: | |
master: | |
regex: ^master | |
increment: Patch | |
tag: beta | |
prevent-increment-of-merged-branch-version: false | |
tracks-release-branches: false | |
is-release-branch: true | |
hotfix: | |
regex: '(hot|bug)fix(es)?[/-]' | |
increment: Patch | |
tag: useBranchName | |
source-branches: | |
- master | |
- feature | |
prevent-increment-of-merged-branch-version: false | |
tracks-release-branches: false | |
is-release-branch: false | |
feature: | |
regex: 'feature(s)?[/-]' | |
increment: Minor | |
tag: useBranchName | |
source-branches: | |
- master | |
prevent-increment-of-merged-branch-version: false | |
tracks-release-branches: false | |
is-release-branch: false | |
# Pull/Merge requests | |
pull-request: | |
regex: '(MR-\d+-merge|merge\-requests|mr)[/-]|^(pull|pull\-requests|pr)[/-]' | |
increment: Inherit | |
tag: PR | |
source-branches: | |
- master | |
- feature | |
- hotfix | |
mode: ContinuousDelivery | |
prevent-increment-of-merged-branch-version: false | |
tag-number-pattern: '[/-](?<number>\d+)' | |
tracks-release-branches: false | |
is-release-branch: false | |
# Release branch to patch dated releases with bug fixes and for LTS. Release by tagging to this branch | |
release: | |
regex: '^release(s)?[/-]' | |
increment: None | |
tag: beta | |
source-branches: | |
- master | |
mode: ContinuousDelivery | |
prevent-increment-of-merged-branch-version: true | |
tracks-release-branches: false | |
is-release-branch: true | |
ignore: | |
sha: [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment