👷 chore(release): fix git-cliff template
This commit is contained in:
parent
abe690c1b1
commit
ca65cd5a62
@ -39,7 +39,7 @@ body = """
|
|||||||
{% set_global breaking_header_shown = true %}
|
{% set_global breaking_header_shown = true %}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- if commit.breaking -%}
|
{%- if commit.breaking -%}
|
||||||
{{ self::commit(commit=commit, in_breaking_section=true) }}
|
{{ self::commit(commit=commit, in_breaking_section=true) -}}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
{%- if breaking_header_shown == true -%}
|
{%- if breaking_header_shown == true -%}
|
||||||
|
4
release
4
release
@ -42,8 +42,8 @@ export GIT_CLIFF_TEMPLATE="\
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for group, group_commits in commits | group_by(attribute=\"group\") %}
|
{% for group, group_commits in commits | group_by(attribute=\"group\") %}
|
||||||
{{ group | striptags | trim | upper_first }}
|
{{ group | striptags | trim | upper_first }}
|
||||||
{% for commit in group_commits -%}
|
{% for commit in group_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 %}"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user