Skip to content

Commit 18cb66c

Browse files
committed
Added usage section to mainline-development
1 parent 4290a39 commit 18cb66c

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/reference/mainline-development.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,15 @@ Here is an example of what mainline development looks like:
4343
intermitently (maybe for minor or major releases) because then GitVersion
4444
will start the version calculation from that point. Much like a snapshot in an
4545
event sourced system. We will probably add in warnings to tag when things are
46-
slowing down.
46+
slowing down.
47+
48+
## Usage
49+
By default GitVersion is set up to do [Continuous Delivery](continuous-delivery.md)
50+
versioning on all branches but `develop` (which does
51+
[Continuous Deployment](continuous-deployment.md) by default). To change the
52+
[versioning mode](versioning-mode.md) to Mainline Development, just
53+
change the [configuration](../configuration.md) as such:
54+
55+
```yaml
56+
mode: Mainline
57+
```

0 commit comments

Comments
 (0)