Skip to content

Commit f2183e2

Browse files
authored
Merge pull request #2025 from teroneko/issue-888
GH-888: Improved documentation for `continuous-delivery-fallback-tag`
2 parents 7101838 + ba693af commit f2183e2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/input/docs/configuration.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,18 @@ When using `mode: ContinuousDeployment`, the value specified in
137137
`continuous-delivery-fallback-tag` will be used as the pre-release tag for
138138
branches which do not have one specified. Default set to `ci`.
139139

140+
Just to clarify: For a build name without `...-ci-<buildnumber>` or in other
141+
words without a `PreReleaseTag` (ergo `"PreReleaseTag":""` in GitVersion's JSON output)
142+
at the end you would need to set `continuous-delivery-fallback-tag` to an empty string (`''`):
143+
144+
```yaml
145+
mode: ContinuousDeployment
146+
continuous-delivery-fallback-tag: ''
147+
...
148+
```
149+
150+
Doing so can be helpful if you use your `master` branch as a `release` branch.
151+
140152
### tag-prefix
141153

142154
A regex which is used to trim git tags before processing (eg v1.0.0). Default is

0 commit comments

Comments
 (0)