Add git-cliff configuration
This commit is contained in:
parent
4761cf7805
commit
07a8b431ea
|
|
@ -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"
|
||||||
Loading…
Reference in New Issue