Skip to content

Commit 7a388f7

Browse files
BinTossarturcic
authored andcommitted
docs: add Conventional Commits multiple scopes delimiters
commitlint supports multiple scopes https://github.com/conventional-changelog/commitlint#what-is-commitlint
1 parent a1cab94 commit 7a388f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/input/docs/reference/version-increments.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ you can leverage this feature as follows:
9595

9696
```yaml
9797
mode: MainLine # Only add this if you want every version to be created automatically on your main branch.
98-
major-version-bump-message: "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\\([\\w\\s-]*\\))?(!:|:.*\\n\\n((.+\\n)+\\n)?BREAKING CHANGE:\\s.+)"
99-
minor-version-bump-message: "^(feat)(\\([\\w\\s-]*\\))?:"
100-
patch-version-bump-message: "^(fix|perf)(\\([\\w\\s-]*\\))?:"
98+
major-version-bump-message: "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\\([\\w\\s-,/\\\\]*\\))?(!:|:.*\\n\\n((.+\\n)+\\n)?BREAKING CHANGE:\\s.+)"
99+
minor-version-bump-message: "^(feat)(\\([\\w\\s-,/\\\\]*\\))?:"
100+
patch-version-bump-message: "^(fix|perf)(\\([\\w\\s-,/\\\\]*\\))?:"
101101
```
102102

103103
This will ensure that your version gets bumped according to the commits you've

0 commit comments

Comments
 (0)