-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrelease-plz.toml
More file actions
38 lines (37 loc) · 2.1 KB
/
Copy pathrelease-plz.toml
File metadata and controls
38 lines (37 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[workspace]
custom_major_increment_regex = "^major"
custom_minor_increment_regex = "^minor|^enhancement|^🎉"
features_always_increment_minor = true
git_tag_name = "{{version}}"
git_release_enable = false # the release is build by the (cargo-)dist from tag
semver_check = false # TODO enable when the lib will be used out of this cli (=> increase CI time)
[changelog]
protect_breaking_commits = true
# sort_commits = "newest"
# commit_preprocessors = [
# # { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "" }, # remove issue numbers from commits
# # { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/issues/${2}))"}, # replace issue numbers
# ]
# # regex for parsing and grouping commits
# # try to follow [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
# commit_parsers = [
# { message = "^(🔒️|🔐)", group = "<!-- 0 -->Security" },
# { body = ".*security", group = "<!-- 0 -->Security" },
# { message = "^(fix|🐛|🚑️|👽️)", group = "<!-- 1 -->Fixed" },
# { message = "^(test|✅)", group = "<!-- 1 -->Fixed", skip = true },
# { message = "^.*: add", group = "<!-- 2 -->Added" },
# { message = "^.*: support", group = "<!-- 2 -->Added" },
# { message = "^(feat|✨|💥)", group = "<!-- 2 -->Added" },
# { message = "^.*: remove", group = "<!-- 3 -->Removed" },
# { message = "^.*: delete", group = "<!-- 3 -->Removed" },
# { message = "^(style|💄)", group = "<!-- 4 -->Changed" },
# { message = "^(doc|✏️|📝)", group = "<!-- 4 -->Changed" },
# { message = "^(perf|⚡️)", group = "<!-- 4 -->Changed" },
# { message = "^(chore|ci|build|💚|👷|🚧)", group = "<!-- 4 -->Changed", skip = true },
# { message = "^revert", group = "<!-- 4 -->Changed" },
# { message = "^(chore\\(deps\\)|⬇️|⬆️|➕|➖)", group = "<!-- 4 -->Changed" },
# { message = "^(refactor|🎨|🔥|♻️)", group = "<!-- 5 -->Refactor", skip = true },
# { message = "^(chore\\(release\\): prepare for|🔖|🚀)", skip = true },
# { message = "^chore\\(pr\\)", skip = true },
# { message = "^chore\\(pull\\)", skip = true },
# ]