-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathgit-cliff.toml
More file actions
27 lines (25 loc) · 1.15 KB
/
git-cliff.toml
File metadata and controls
27 lines (25 loc) · 1.15 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
# git-cliff configuration for hyprwhspr-rs changelog generation
[git]
tag_pattern = "v*"
commit_preprocessors = [
{ pattern = "^Merge pull request #([0-9]+) from .*", replace = "" }
]
commit_parsers = [
{ message = "^feat", group = "Features" },
{ message = "^fix", group = "Fixes" },
{ message = "^perf", group = "Performance" },
{ message = "^refactor", group = "Refactors" },
{ message = "^docs", group = "Docs" },
{ message = "^test", group = "Tests" },
{ message = "^build", group = "Build" },
{ message = "^chore", group = "Chores" },
{ message = "", group = "Misc" }
]
protect_tags = true
[changelog]
header = "# Changelog\n\nAll notable changes to this project will be documented in this file."
body = "\n{% if version %}## {{ version | trim_start_matches(pat=\"v\") }} - {{ timestamp | date(format=\"%Y-%m-%d\") }}{% endif %}\n{% for group, commits in commits | group_by(attribute=\"group\") %}\n### {{ group }}\n{% for commit in commits %}- {{ commit.message | upper_first }} ({{ commit.id | truncate(length=8, end=\"\") }})\n{% endfor %}\n{% endfor %}"
footer = "\n"
sort_groups = true
[remote]
url = "https://github.com/better-slop/hyprwhspr-rs"