Skip to content

Commit

Permalink
chore: update git-cliff config
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Nov 5, 2023
1 parent 36a98ef commit 9e5322d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .git-cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,23 @@ header = """
body = """
{% if version %}\
## {{ version | trim_start_matches(pat="v") }}
{% else %}\
## Unreleased
{% endif %}\
{% for group, commits in commits | filter(attribute="group", value="Features") | group_by(attribute="group") %}
{% for group, commits in commits | filter(attribute="group", value="Features") | group_by(attribute="group") %}\
### {{ group | upper_first }}
{% for commit in commits %}
- {{ commit.message | upper_first }}\
{% endfor %}\
{% endfor %}\n
{% endfor %}\n
{% endfor %}\
{% for group, commits in commits | filter(attribute="group", value="Fixes") | group_by(attribute="group") %}\
### {{ group | upper_first }}
{% for commit in commits %}
- {{ commit.message | upper_first }}\
{% endfor %}\
{% endfor %}\n
{% endfor %}\n
{% endfor %}\
"""
trim = true

Expand All @@ -32,4 +34,4 @@ commit_parsers = [
{ message = "^fix", group = "Fixes" },
{ message = "^docs", group = "Documentation", skip = true },
]
filter_commits = true
# filter_commits = true

0 comments on commit 9e5322d

Please sign in to comment.