Skip to content

Commit c38e7b6

Browse files
committed
Added global configuration example
1 parent 93f75a5 commit c38e7b6

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

docs/configuration.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,29 @@ after installing via chocolatey and a minimal `GitVersion.yml` configuration
2525
file will be created. Modify this as you need.
2626

2727
## Global configuration
28-
The global configuration options are:
28+
The global configuration options look like this:
29+
30+
```yaml
31+
next-version: 1.0
32+
assembly-versioning-scheme: MajorMinorPatch
33+
assembly-informational-format: '{InformationalVersion}'
34+
mode: ContinuousDelivery
35+
continuous-delivery-fallback-tag: ci
36+
tag-prefix: '[vV]'
37+
major-version-bump-message: '\+semver:\s?(breaking|major)'
38+
minor-version-bump-message: '\+semver:\s?(feature|minor)'
39+
patch-version-bump-message: '\+semver:\s?(fix|patch)'
40+
no-bump-message: '\+semver:\s?(none|skip)'
41+
legacy-semver-padding: 4
42+
build-metadata-padding: 4
43+
commits-since-version-source-padding: 4
44+
commit-message-incrementing: Enabled
45+
ignore:
46+
sha: []
47+
commits-before: yyyy-MM-ddTHH:mm:ss
48+
```
49+
50+
The options are:
2951
3052
- **`next-version:`** Allows you to bump the next version explicitly, useful
3153
for bumping `master` or a feature with breaking changes a major increment.

0 commit comments

Comments
 (0)