Add git-cliff configuration

This commit is contained in:
Ivan Nikulin 2023-07-28 14:02:46 +01:00
parent 4761cf7805
commit 07a8b431ea
1 changed files with 24 additions and 0 deletions

24
cliff.toml Normal file
View File

@ -0,0 +1,24 @@
[changelog]
header = ""
body = """
{% if version %}\
{{ version | trim_start_matches(pat="v") }}\
{% else %}\
Unreleased\
{% endif %}\
{% for commit in commits %}
- {{ commit.author.timestamp | date }} {{ commit.message | split(pat="\n") | first }}\
{% endfor %}
"""
footer = ""
[git]
conventional_commits = false
commit_parsers = [
{ message = "^Pull request", skip = true }
]
filter_commits = false
tag_pattern = "[v0-9]*"
sort_commits = "newest"