mirror of
https://github.com/orhun/git-cliff.git
synced 2025-01-05 15:58:24 +03:00
chore(config): indicate the breaking changes via default config
This commit is contained in:
parent
8445313b13
commit
316c11b607
@ -17,7 +17,7 @@ body = """
|
||||
{% for group, commits in commits | group_by(attribute="group") %}
|
||||
### {{ group | upper_first }}
|
||||
{% for commit in commits %}
|
||||
- {{ commit.message | upper_first }}\
|
||||
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first }}\
|
||||
{% endfor %}
|
||||
{% endfor %}\n
|
||||
"""
|
||||
|
@ -14,7 +14,7 @@ if [ -n "$1" ]; then
|
||||
{% for group, commits in commits | group_by(attribute=\"group\") %}
|
||||
{{ group | upper_first }}\
|
||||
{% for commit in commits %}
|
||||
- {{ commit.message | upper_first }} ({{ commit.id | truncate(length=7, end=\"\") }})\
|
||||
- {% if commit.breaking %}(breaking) {% endif %}{{ commit.message | upper_first }} ({{ commit.id | truncate(length=7, end=\"\") }})\
|
||||
{% endfor %}
|
||||
{% endfor %}"
|
||||
changelog=$(cargo run -- --unreleased --strip all)
|
||||
|
Loading…
Reference in New Issue
Block a user