diff --git a/.github/release-plz.toml b/.github/release-plz.toml index 5cbe49e..988bb3b 100644 --- a/.github/release-plz.toml +++ b/.github/release-plz.toml @@ -9,16 +9,13 @@ body = """ {% for group, commits in commits | group_by(attribute="group") %} ### {{ group | upper_first }} {% for commit in commits %} - - {%- if commit.scope %} *({{commit.scope}})* {%- endif -%}\ + - {%- if commit.scope %} *({{commit.scope}})* {%- endif -%} \ {%- if commit.breaking %} [**breaking**] {%- endif %} \ {{ commit.message -}} \ - {{- self::code_link(commit=commit) }}{{ self::username(commit=commit) }} + {{- self::username(commit=commit) }} {% endfor -%} {% endfor %} -{%- macro code_link(commit) -%} - {% if commit.remote.pr_number %} - #{{ commit.remote.pr_number }} {%- else %} - {{ commit.id }} {%- endif %} -{%- endmacro %} {%- macro username(commit) -%} {% if commit.remote.username %} by @{{ commit.remote.username }} {%- endif -%} {%- endmacro %}