Skip to content

Commit

Permalink
chore: update changelog format
Browse files Browse the repository at this point in the history
  • Loading branch information
BobAnkh committed Jun 25, 2024
1 parent dd6dd6b commit 8ba2b38
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,10 @@ body = """
{% endmacro -%}
{% if version %}\
{% if previous.version %}\
## [{{ version | trim_start_matches(pat="v") }}]\
({{ self::remote_url() }}/compare/{{ previous.version }}..{{ version }}) - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% endif %}\
## [{{ version }}]\
({{ self::remote_url() }}/compare/releases/tag/{{ version }}) - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [unreleased]
## [Unreleased]
{% endif %}\
{% for group, commits in commits | filter(attribute="merge_commit", value=false) | unique(attribute="message") | group_by(attribute="group") %}
Expand Down Expand Up @@ -90,6 +86,7 @@ commit_parsers = [
{ message = "^chore\\(deps.*\\)", skip = true },
{ message = "^chore\\(pr\\)", skip = true },
{ message = "^chore\\(pull\\)", skip = true },
{ message = "^chore: release.*", skip = true },
{ message = "^chore|^ci", group = "<!-- 7 -->Miscellaneous Tasks" },
{ body = ".*security", group = "<!-- 8 -->Security" },
{ message = "^revert", group = "<!-- 9 -->Revert" },
Expand Down

0 comments on commit 8ba2b38

Please sign in to comment.