chore: migrate away from deprecated git-cliff syntax
This commit is contained in:
parent
f8dfbcc150
commit
9395297141
1 changed files with 2 additions and 2 deletions
|
@ -54,9 +54,9 @@ body = """
|
|||
{% if commit.scope %}**({{commit.scope}})** {% endif -%}
|
||||
{% if commit.breaking %}**breaking** {% endif -%}
|
||||
{{ 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 \
|
||||
{% 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 }})\
|
||||
{%- endif %}
|
||||
{% endmacro commit -%}
|
||||
|
|
Loading…
Add table
Reference in a new issue