-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcliff.toml
More file actions
55 lines (47 loc) · 1.63 KB
/
Copy pathcliff.toml
File metadata and controls
55 lines (47 loc) · 1.63 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[changelog]
# The header appears only once at the top of the file.
header = """
# Changelog
All notable milestones of this project will be documented in this file.\n
"""
body = """
{% if version %}\
# [{{ version | trim_start_matches(pat="v") }}] – {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
# [unreleased] – {{ now() | date(format="%Y-%m-%d") }}
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
{% if group != "Ignored" %}
## {{ group | upper_first }}
{% for commit in commits %}
- {% if commit.scope %}**{{ commit.scope }}:** {% endif %}{{ commit.message | upper_first | split(pat="\n") | first }}
{% endfor %}
{% endif %}
{% endfor %}
\n
"""
# Remove extra white space
trim = true
# IMPORTANT: Change to false to prevent uncommitted versions from appearing "empty" in the log.
render_always = true
# Change everything in (#) to link the issues.
postprocessors = [
{ pattern = '\(#([0-9]+)\)', replace = "([#${1}](https://github.com/orbitbits/seedctl/issues/${1}))" },
]
[git]
conventional_commits = true
filter_unconventional = false
filter_commits = false
use_branch_tags = false
top_order = true
commit_parsers = [
{ message = "^(?i)feat(\\(.+\\))?!?:", group = "Features" },
{ message = "^(?i)(fix|bug)(\\(.+\\))?!?:", group = "Bug Fixes" },
{ message = "^(?i)refactor(\\(.+\\))?!?:", group = "Refactoring" },
{ message = "^(?i)perf(\\(.+\\))?!?:", group = "Performance" },
{ message = "^(?i)security(\\(.+\\))?!?:", group = "Security" },
{ message = ".*", group = "Ignored" },
]
# If you want it to ignore merge messages from GitHub:
skip_tags = ""
ignore_tags = ""