forked from zanders3/json
-
Notifications
You must be signed in to change notification settings - Fork 2
/
GitVersion.yml
72 lines (72 loc) · 2.08 KB
/
GitVersion.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
assembly-versioning-scheme: MajorMinorPatch
mode: ContinuousDelivery
tag-prefix: '[v]'
continuous-delivery-fallback-tag: ci
major-version-bump-message: '\+semver:\s?(breaking|major)'
minor-version-bump-message: '\+semver:\s?(feature|minor)'
patch-version-bump-message: '\+semver:\s?(fix|patch)'
legacy-semver-padding: 3
build-metadata-padding: 3
commits-since-version-source-padding: 3
commit-message-incrementing: Enabled
branches:
master:
mode: ContinuousDelivery
tag:
increment: Patch
prevent-increment-of-merged-branch-version: true
track-merge-target: false
release:
regex: releases?[/-]
mode: ContinuousDelivery
tag: ""
increment: Patch
prevent-increment-of-merged-branch-version: true
track-merge-target: false
pre-release:
regex: pre-releases?[/-]
mode: ContinuousDelivery
tag: "rc"
increment: Patch
prevent-increment-of-merged-branch-version: true
track-merge-target: false
feature:
regex: features?[/-]
mode: ContinuousDeployment
tag: useBranchName
increment: Inherit
prevent-increment-of-merged-branch-version: false
track-merge-target: false
pull-requests:
regex: (pull|pull\-requests|pr)[/-]
mode: ContinuousDelivery
tag: PullRequest
increment: Inherit
prevent-increment-of-merged-branch-version: false
tag-number-pattern: '[/-](?<number>\d+)[-/]'
track-merge-target: false
hotfix:
regex: hotfix(es)?[/-]
mode: ContinuousDelivery
tag: beta2
increment: Patch
prevent-increment-of-merged-branch-version: false
track-merge-target: false
support:
regex: support[/-]
mode: ContinuousDelivery
tag:
increment: Patch
prevent-increment-of-merged-branch-version: true
track-merge-target: false
develop:
regex: dev(elop)?(ment)?$
mode: ContinuousDeployment
tag: unstable
increment: Minor
prevent-increment-of-merged-branch-version: false
track-merge-target: true
bugfix:
regex: bugfix[/-]
mode: ContinuousDeployment
increment: Patch