forked from empira/PDFsharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitversion.yml
42 lines (42 loc) · 1.61 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
# 23-05-24
assembly-versioning-scheme: MajorMinorPatch
mode: Mainline
assembly-informational-format: '{NuGetVersion}'
branches:
develop: # Current development
# branch: develop -- is always 'develop'
# version: {6.0.0}-develop.123 -- taken from git tag plus 'develop' plus commit count
regex: ^develop$
mode: ContinuousDeployment
increment: None
tag: develop
prevent-increment-of-merged-branch-version: false
track-merge-target: true
source-branches: ['feature', 'release']
release: # Release and preview versions.
# branch: release/6.0.0-preview-3 -- must be same as git tag without leading 'v'.
# version: {6-0-0-preview-3} -- taken from git tag only
regex: ^(release[/-]|master)
# Must not have mode set to be mainline? WTF?
increment: None
tag: ''
prevent-increment-of-merged-branch-version: true
track-merge-target: true
is-release-branch: true
is-mainline: true
source-branches: ['develop', 'release', 'feature']
feature: # Features and bug fixes.
# branch: feature/my-new-feature -- arbitrary name, e.g. a new preview
# version: {6.0.0}-dev-{my-new-feature}.123 -- taken from git tag plus 'dev-' plus branch name plus commit count
regex: ^(user|feature|fix)[/-]
mode: ContinuousDeployment
increment: None
tag: 'dev-{BranchName}'
prevent-increment-of-merged-branch-version: true
track-merge-target: true
source-branches: ['develop', 'release', 'feature']
pull-request:
regex: ^(pull|pull\-requests|pr)[/-]
tag: PullRequest
mode: ContinuousDeployment
merge-message-formats: {}