File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,21 @@ applications but can cause problems for libraries. As such this mode may or may
13
13
not work for you, which leads us into a new mode in v4 of GitVersion:
14
14
[ Mainline Development] ( mainline-development.md ) .
15
15
16
- By default GitVersion is * not* setup to do Continuous Deployment versioning.
17
- The good news is in v3 of GitVersion this behavior is
18
- [ configurable] ( ../configuration.md ) !
16
+ ### Usage
17
+ By default GitVersion is set up to do Continuous Deployment versioning on the
18
+ ` develop ` branch, but for all other branches,
19
+ [ Continuous Delivery] ( continuous-delivery.md ) is the default mode. From version
20
+ 3 of GitVersion this behavior is [ configurable] ( ../configuration.md ) .
19
21
20
22
The default behavior for v3 and how v1 & 2 worked was that the version only
21
23
incremented after a tag, which signified a release. In v3 you can simply switch
22
24
the default mode in the [ configuration] ( ../configuration.md ) from
23
- ` continuous-delivery ` to ` continuous-deployment ` and the version will then
25
+ ` ContinuousDelivery ` to ` ContinuousDeployment ` and the version will then
24
26
increment each commit, giving you the features of GitVersion with continuous
25
- deployment.
27
+ deployment:
28
+
29
+ ``` yaml
30
+ mode : ContinuousDeployment
31
+ ` ` `
26
32
27
33
[blog]: http://www.xavierdecoster.com/semantic-versioning-auto-incremented-nuget-package-versions
You can’t perform that action at this time.
0 commit comments