Skip to content

Commit bf0f957

Browse files
committed
chore: remove the redundant pr number from changelog
1 parent 5c876f8 commit bf0f957

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

release-plz.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ body = """
3737
({% for link in commit.links %}[{{link.text}}]({{link.href}}) {% endfor -%})\
3838
{% endif %}
3939
{% else -%}
40-
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }}{{ self::username(commit=commit) }}{{ self::pr(commit=commit) }}
40+
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message }}{{ self::username(commit=commit) }}
4141
{% endif -%}
4242
{% endfor -%}
4343
{% endfor %}
@@ -50,9 +50,6 @@ body = """
5050
{%- macro username(commit) -%}
5151
{% if commit.remote.username %} (by @{{ commit.remote.username }}){% endif -%}
5252
{% endmacro -%}
53-
{%- macro pr(commit) -%}
54-
{% if commit.remote.pr_number %} - #{{ commit.remote.pr_number }}{% endif -%}
55-
{% endmacro -%}
5653
"""
5754

5855
commit_parsers = [

0 commit comments

Comments
 (0)