Skip to content

Commit c99148a

Browse files
committed
fix(changelog): rename section of commits without scope to *Unknown Scope* instead of just *Unknown*
1 parent 31b8559 commit c99148a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

{{repo_name}}/templates/CHANGELOG.md.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{# UNRELEASED -#}
1212
## Unreleased
1313
{% for type_, commits in context.history.unreleased | dictsort %}
14-
### {{ type_ | capitalize }} {% if type == "unknown" %}Scope{% endif %}
14+
### {{ type_ | capitalize }} {% if type_ == "unknown" %}Scope{% endif %}
1515
{% for commit in commits %}{% if type_ != "unknown" %}
1616
* {{ fmt_commit(commit) }}
1717
{% else %}
@@ -22,7 +22,7 @@
2222
{% if release["elements"] | length > 0 %}
2323
## {{ version.as_semver_tag() }} ({{ release.tagged_date.strftime("%Y-%m-%d") }})
2424
{% for type_, commits in release["elements"] | dictsort %}
25-
### {{ type_ | capitalize }} {% if type == "unknown" %}Scope{% endif %}
25+
### {{ type_ | capitalize }} {% if type_ == "unknown" %}Scope{% endif %}
2626
{% for commit in commits %}{% if type_ != "unknown" %}
2727
* {{ fmt_commit(commit) }}
2828
{% else %}

0 commit comments

Comments
 (0)