mirror of
https://github.com/chatmail/core.git
synced 2026-05-20 15:26:30 +03:00
build(git-cliff): do not fail if commit.footers is undefined
This commit is contained in:
@@ -67,9 +67,11 @@ body = """
|
|||||||
- {% if commit.breaking %}[**breaking**] {% endif %}\
|
- {% if commit.breaking %}[**breaking**] {% endif %}\
|
||||||
{% if commit.scope %}{{ commit.scope }}: {% endif %}\
|
{% if commit.scope %}{{ commit.scope }}: {% endif %}\
|
||||||
{{ commit.message | upper_first }}.\
|
{{ commit.message | upper_first }}.\
|
||||||
{% for footer in commit.footers %}{% if 'BREAKING CHANGE' in footer.token %}
|
{% if commit.footers is defined %}\
|
||||||
{% raw %} {% endraw %}- {{ footer.value }}\
|
{% for footer in commit.footers %}{% if 'BREAKING CHANGE' in footer.token %}
|
||||||
{% endif %}{% endfor %}\
|
{% raw %} {% endraw %}- {{ footer.value }}\
|
||||||
|
{% endif %}{% endfor %}\
|
||||||
|
{% endif%}\
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}\n
|
{% endfor %}\n
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user