mirror of
https://github.com/orhun/git-cliff.git
synced 2025-01-08 13:17:21 +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") %}
|
{% for group, commits in commits | group_by(attribute="group") %}
|
||||||
### {{ group | upper_first }}
|
### {{ group | upper_first }}
|
||||||
{% for commit in commits %}
|
{% for commit in commits %}
|
||||||
- {{ commit.message | upper_first }}\
|
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first }}\
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}\n
|
{% endfor %}\n
|
||||||
"""
|
"""
|
||||||
|
@ -14,7 +14,7 @@ if [ -n "$1" ]; then
|
|||||||
{% for group, commits in commits | group_by(attribute=\"group\") %}
|
{% for group, commits in commits | group_by(attribute=\"group\") %}
|
||||||
{{ group | upper_first }}\
|
{{ group | upper_first }}\
|
||||||
{% for commit in commits %}
|
{% 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 %}
|
||||||
{% endfor %}"
|
{% endfor %}"
|
||||||
changelog=$(cargo run -- --unreleased --strip all)
|
changelog=$(cargo run -- --unreleased --strip all)
|
||||||
|
Loading…
Reference in New Issue
Block a user