Skip to content

Commit

Permalink
chore: migrate away from deprecated git-cliff syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Sep 25, 2024
1 parent 95c3fe5 commit 3062df9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,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 -%}
Expand Down

0 comments on commit 3062df9

Please sign in to comment.