-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcliff.toml
More file actions
35 lines (33 loc) · 833 Bytes
/
cliff.toml
File metadata and controls
35 lines (33 loc) · 833 Bytes
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
# git-cliff ~ configuration file
# https://git-cliff.org/docs/configuration
[changelog]
header = """
# Changelog\n
"""
body = """
{%- if version %}
## [{{ version }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{%- else %}
## [Unreleased]
{%- endif %}
{% for commit in commits -%}
- [`{{ commit.id | truncate(length=7, end="") }}`] {{ commit.message | upper_first }}
{% endfor %}
"""
trim = true
[git]
conventional_commits = false
filter_unconventional = false
split_commits = false
commit_preprocessors = [
# Strip everything after the first line
{ pattern = "\n.*", replace = "" },
# Remove trailing PR numbers like (#123)
{ pattern = "\\s*\\(#\\d+\\)", replace = "" },
]
filter_commits = false
topo_order = false
sort_commits = "oldest"
commit_parsers = [
{ message = "^chore\\(release\\)", skip = true },
]