Skip to content

Commit 32b0398

Browse files
committed
Update breaking changes and document some examples
1 parent 77095ac commit 32b0398

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

BREAKING_CHANGES.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@
55
* The current branch (child) inherits its configuration from the source (parent) branch if the `increment` strategy is set to `Inherit`. This makes branch configuration recursive, simpler, more intuitive, more flexible, and more robust.
66
* Instead of having a single effective configuration, we now have one effective configuration per branch where the increment strategy is not set to `inherit`.
77
* The new implementation of the branch configuration inheritance affects per default only the pull-requests, hotfix and feature branches. In this case the next version will be generated like the child branch is not existing and the commits have been made on the source branch.
8+
* The following example illustrates this behavior:
9+
10+
```
11+
* 8df9b9f 52 minutes ago (HEAD -> feature/just-a-test)
12+
* 999e22a 54 minutes ago
13+
|\
14+
| * 26d759f 55 minutes ago (develop)
15+
* | b5addb0 57 minutes ago (release/1.1.0)
16+
|/
17+
* 065c6eb 59 minutes ago
18+
* 73835c8 61 minutes ago (tag: 1.0.0, main)
19+
```
20+
21+
* On the feature branch the semantic version 1.1.0 will be generated instead of version 1.2.0.
822

923
## v5.0.0
1024

0 commit comments

Comments
 (0)