File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,8 +58,9 @@ build_command = "pip install poetry && poetry build"
5858
5959[tool .semantic_release .changelog ]
6060exclude_commit_patterns = [
61- " chore*" ,
62- " ci*" ,
61+ " chore.*" ,
62+ " ci.*" ,
63+ " Merge pull request .*" ,
6364]
6465
6566[tool .semantic_release .changelog .environment ]
Original file line number Diff line number Diff line change 55
66## {{ version.as_tag() }} ({{ release.tagged_date.strftime("%Y-%m-%d") }})
77
8- {% - for category , commits in release ["elements" ].items () %}
8+ {% - for category , commits in release ["elements" ].items () %}{% if category != "unknown" %}
99{# Category title: Breaking, Fix, Documentation #}
1010### {{ category | capitalize }}
1111{# List actual changes in the category #}
1212{% - for commit in commits %}
1313- {{ commit.descriptions[0] | capitalize }} ([`{{ commit.short_hash }}`]({{ commit.hexsha | commit_hash_url }}))
1414{% - endfor %} {# for commit #}
1515
16- {% - endfor %} {# for category, commits #}
16+ {% - endif %}{% endfor %} {# for category, commits #}
1717
1818{% - endif %} {# if version.as_tag() #}
1919
You can’t perform that action at this time.
0 commit comments