mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 21:36:29 +03:00
Improve template: Always include lines that start with 'BREAKING CHANGE'
This commit is contained in:
@@ -61,6 +61,9 @@ body = """
|
||||
### {{ group | upper_first }}
|
||||
{% for commit in commits %}
|
||||
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first }}\
|
||||
{% for footer in commit.footers %}{% if 'BREAKING CHANGE' in footer.token %}
|
||||
{% raw %} {% endraw %}- {{ footer.value }}\
|
||||
{% endif %}{% endfor %}\
|
||||
{% endfor %}
|
||||
{% endfor %}\n
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user