diff --git a/release-plz.toml b/release-plz.toml index 26104fd8..6451f15e 100644 --- a/release-plz.toml +++ b/release-plz.toml @@ -96,7 +96,7 @@ body = """ {% if commit.remote.username %} by @{{ commit.remote.username }}{%- endif -%} {% if commit.remote.pr_number %} in \ [#{{ commit.remote.pr_number }}]({{ remote.link }}/pull/{{ commit.remote.pr_number }}) - {%- else %} in \ + {%- elif commit.id != "0000000" %} in \ [`{{ commit.id | truncate(length=7, end="") }}`]({{ remote.link }}/commit/{{ commit.id }}) {%- endif -%} {% endfor %}