-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGitVersion.yml
More file actions
21 lines (21 loc) · 858 Bytes
/
Copy pathGitVersion.yml
File metadata and controls
21 lines (21 loc) · 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
workflow: GitHubFlow/v1
# GitVersion 6 renamed the v5 versioning modes. The v5 root 'mode: ContinuousDeployment'
# (increment the pre-release number with the commit count so every build on a branch gets a unique
# NuGet version) maps to v6 'mode: ContinuousDelivery'. The GitHubFlow/v1 preset defaults
# feature/unknown branches to ManualDeployment (a fixed pre-release number), which would make
# successive builds on the same branch collide on one package version, so they are overridden back
# to ContinuousDelivery here. The key is 'mode'; 'deployment-mode' is silently ignored in 6.x.
branches:
main:
label: beta
mode: ContinuousDelivery
feature:
mode: ContinuousDelivery
unknown:
mode: ContinuousDelivery
hotfix:
regex: ^hotfix(es)?[/-]
source-branches:
- main
label: useBranchName
mode: ContinuousDelivery