-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathGitVersion_CP1.yml
More file actions
32 lines (30 loc) · 1.04 KB
/
GitVersion_CP1.yml
File metadata and controls
32 lines (30 loc) · 1.04 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
32
# This version is the result of experimentation with tweaking some parameters,
# in order to find versioning regime that suits the needs. Please keeep it for
# some time (until the final workflow is well settled).
# Configuration file for the GitVersion tool.
# mode: ContinuousDeployment # commented - we leave it to built-in config
workflow: GitHubFlow/v1
# strategies:
# This enables incrementing the patch number on main branch with each commit:
# # - ConfiguredNextVersion
# - Mainline
branches:
# Configuration for main branch:
main:
# Match either "main" or "master" at main branch
regex: ^master$|^main$
label: ''
# Patch number increases with new commits on the main branch
increment: Patch
is-release-branch: true
is-main-branch: true
develop:
regex: ^develop$
# Add the "alpha" + incremented number suffix on develop branch:
label: 'alpha'
increment: Patch
ignore:
sha: []
commit-message-incrementing: Enabled
assembly-versioning-scheme: MajorMinorPatch
assembly-file-versioning-scheme: MajorMinorPatch