Skip to content

Commit 1750d00

Browse files
Further document Fallback strategy
1 parent 6f76020 commit 1750d00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/input/docs/learn/how-it-works.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ Currently we have the following strategies:
4848
(e.g., `Merge 'release/3.0.0' into 'main'` will return `3.0.0`)
4949
* `Fallback` - Always returns 0.0.0 and will be used for
5050
calculating the next version which is dependent on the increment strategy of
51-
the effected branch (e.g. on main the next version is 0.0.1 or on develop it is 0.1.0)
51+
the effected branch (e.g. on main the next version is 0.0.1 or on develop it is 0.1.0).
52+
The fallback strategy only applies if no other selected strategy returns a base version.
5253
* `TrackReleaseBranches` - Considers the base version extracted from release branches when
5354
calculating the next version for branches configured with `track-release-branches: true`
5455
(part of default configuration for `develop` branch in `GitFlow` workflow)

0 commit comments

Comments
 (0)