Skip to content

Commit

Permalink
chore: update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfrangu committed Dec 3, 2023
1 parent 5ca1cb7 commit 6235ff3
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions cliff.toml
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
[changelog]
header = """
# Changelog
All notable changes to this project will be documented in this file.\n
"""
body = """
{% if version %}\
# [{{ version | trim_start_matches(pat="v") }}]\
{% if previous %}\
{% if previous.version %}\
(https://github.com/vladfrangu/async_event_emitter/compare/{{ previous.version }}...{{ version }})\
{% else %}\
(https://github.com/vladfrangu/async_event_emitter/tree/{{ version }})\
{% endif %}\
{% endif %} \
- ({{ timestamp | date(format="%Y-%m-%d") }})
# [{{ version | trim_start_matches(pat="v") }}]\
{% if previous %}\
{% if previous.version %}\
(https://github.com/vladfrangu/async_event_emitter/compare/{{ previous.version }}...{{ version }})\
{% else %}\
(https://github.com/vladfrangu/async_event_emitter/tree/{{ version }})\
{% endif %}\
{% endif %} \
- ({{ timestamp | date(format="%Y-%m-%d") }})
{% else %}\
# [unreleased]
# [unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
## {{ group | upper_first }}
{% for commit in commits %}
## {{ group | upper_first }}
{% for commit in commits %}
- {% if commit.scope %}\
**{{commit.scope}}:** \
{% endif %}\
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/vladfrangu/async_event_emitter/commit/{{ commit.id }}))\
{% endif %}\
{{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/vladfrangu/async_event_emitter/commit/{{ commit.id }}))\
{% if commit.breaking %}\
\n\n {% raw %} {% endraw %} ### 💥 Breaking Changes:\n \
{% for breakingChange in commit.footers %}\
{% raw %} {% endraw %} - {{ breakingChange }}\n\
\n{% raw %} {% endraw %}- 💥 **{{ breakingChange.token }}{{ breakingChange.separator }}** {{ breakingChange.value }}\
{% endfor %}\
{% endif %}\
{% endfor %}
{% endfor %}
{% endfor %}\n
"""
trim = true
Expand Down

0 comments on commit 6235ff3

Please sign in to comment.