Skip to content

Commit

Permalink
update git-cliff configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
peczenyj committed Dec 30, 2024
1 parent e7e4dd6 commit 2d8f66d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ body = """
{%- if version %} in {{ version }}{%- endif -%}
{% for commit in commits %}
{% if commit.github.pr_title -%}
{%- set commit_message = commit.github.pr_title -%}
{% if commit.remote.pr_title -%}
{%- set commit_message = commit.remote.pr_title -%}
{%- else -%}
{%- set commit_message = commit.message -%}
{%- endif -%}
* {{ commit_message | split(pat="\n") | 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 -%}
Expand Down

0 comments on commit 2d8f66d

Please sign in to comment.