chore: migrate away from deprecated git-cliff syntax

This commit is contained in:
Jeff Dickey 2024-09-25 16:34:56 -05:00
parent f8dfbcc150
commit 9395297141
No known key found for this signature in database
GPG key ID: 584DADE86724B407

View file

@ -54,9 +54,9 @@ body = """
{% if commit.scope %}**({{commit.scope}})** {% endif -%} {% if commit.scope %}**({{commit.scope}})** {% endif -%}
{% if commit.breaking %}**breaking** {% endif -%} {% if commit.breaking %}**breaking** {% endif -%}
{{ commit.message | split(pat="\n") | first | trim }} by \ {{ commit.message | split(pat="\n") | first | trim }} by \
{% if commit.github.username %}[@{{commit.github.username}}](https://github.com/{{commit.github.username}})\ {% if commit.remote.username %}[@{{commit.remote.username}}](https://github.com/{{commit.remote.username}})\
{% else %}{{commit.author.name}}{% endif %} in \ {% else %}{{commit.author.name}}{% endif %} in \
{% if commit.github.pr_number %}[#{{ commit.github.pr_number }}]($REPO/pull/{{ commit.github.pr_number }})\ {% if commit.remote.pr_number %}[#{{ commit.remote.pr_number }}]($REPO/pull/{{ commit.remote.pr_number }})\
{% else %}[{{ commit.id | truncate(length=7, end="") }}]($REPO/commit/{{ commit.id }})\ {% else %}[{{ commit.id | truncate(length=7, end="") }}]($REPO/commit/{{ commit.id }})\
{%- endif %} {%- endif %}
{% endmacro commit -%} {% endmacro commit -%}