-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathGitVersion.yml
More file actions
30 lines (27 loc) · 951 Bytes
/
GitVersion.yml
File metadata and controls
30 lines (27 loc) · 951 Bytes
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
# Configuration file for the GitVersion tool.
# This is the original version of GitVersion.yml. It does not increment main
# version on every commit, increments minor version on dev branch after
# branching off main and adds `beta` suffix plus numbe r to versions on the
# develop branch, and versions other branches similarly.
#
# * Commits on main produce versions like 1.2.3.
# * Commits on develop produce pre-releases like 1.3.0-beta.4.
# * You can tune increment rules per branch, or add feature/* branches to get 1.3.0-feature.mybranch.1.
mode: ContinuousDeployment
workflow: GitHubFlow/v1
branches:
main:
regex: ^master$|^main$
label: ''
increment: Patch
is-release-branch: true
is-main-branch: true
develop:
regex: ^develop$
label: beta
increment: Minor
ignore:
sha: []
commit-message-incrementing: Enabled
assembly-versioning-scheme: MajorMinorPatch
assembly-file-versioning-scheme: MajorMinorPatch