-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathgitversion.yml
46 lines (46 loc) · 1.46 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
# 23-03-22
assembly-versioning-scheme: MajorMinorPatch
# PDFSHARP_BUILD_VERSION are the days since 2005-01-01. #CHECK_BEFORE_RELEASE
assembly-file-versioning-format: '{Major}.{Minor}.{Patch}.{env:PDFSHARP_BUILD_VERSION ?? 7284}'
mode: Mainline
assembly-informational-format: '{NuGetVersion}'
branches:
develop: # Current development
# 5.0.0-develop.123
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.
# 22.40.0 / 22.40.0-rc-1
# 5.0.0-preview-2
regex: ^(release[/-]|master)
# ^(user|feature|fix)[/-]
# Must not have mode set to be mainline
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.
# 22.40.0-dev-anse-gvupd.1
# 5.0.0-dev-my-branch.123
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
#ignore:
# sha: []
merge-message-formats: {}