From 4c7488298fec2555330e0615f0839ebbfe36dbe0 Mon Sep 17 00:00:00 2001 From: Alexander Dupuy <33216+dupuy@users.noreply.github.com> Date: Tue, 7 Jan 2025 10:28:32 -0500 Subject: [PATCH] fix: deprecated git-cliff template variables (#171) --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c3978d4..edc8861 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,9 +41,9 @@ body = """ #### {{ group | upper_first }} {%- for commit in commits %} - {{ commit.message | upper_first | trim }}\ - {% if commit.github.username %} by @{{ commit.github.username }}{%- endif -%} - {% if commit.github.pr_number %} in \ - [#{{ commit.github.pr_number }}]({{ self::remote_url() }}/pull/{{ commit.github.pr_number }}) \ + {% if commit.remote.username %} by @{{ commit.remote.username }}{%- endif -%} + {% if commit.remote.pr_number %} in \ + [#{{ commit.remote.pr_number }}]({{ self::remote_url() }}/pull/{{ commit.remote.pr_number }}) \ {%- endif -%} {% endfor %} {% endfor %}