From 07a8b431ea09d944df45980a3bdd04da54f44d6b Mon Sep 17 00:00:00 2001 From: Ivan Nikulin Date: Fri, 28 Jul 2023 14:02:46 +0100 Subject: [PATCH] Add git-cliff configuration --- cliff.toml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 cliff.toml diff --git a/cliff.toml b/cliff.toml new file mode 100644 index 00000000..fb3c241d --- /dev/null +++ b/cliff.toml @@ -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"