File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,15 @@ body = """
3232 {% endif -%}
3333{% endmacro %}
3434## [{{ version | trim_start_matches(pat="v") }}]{%- if release_link -%}({{ release_link }}){% endif %} - {{ timestamp | date(format="%Y-%m-%d") -}}
35- {%- for group, commits in commits | group_by(attribute="group") %}
35+ {%- set breaking_commits = commits | filter(attribute="breaking", value=true) %}
36+ {%- if breaking_commits | length > 0 %}
37+
38+ ### BREAKING CHANGES
39+ {% for commit in breaking_commits -%}
40+ {{- self::commit_message(commit=commit) -}}
41+ {% endfor -%}
42+ {% endif %}
43+ {%- for group, commits in commits | filter(attribute="breaking", value=false) | group_by(attribute="group") %}
3644
3745 ### {{ group | upper_first -}}
3846 {% for commit in commits
You can’t perform that action at this time.
0 commit comments