Skip to content

Commit

Permalink
ci: refactor git-cliff-release script to have @ for mentions (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
prajjwalkumar17 authored Dec 10, 2024
1 parent e07b104 commit 158d1a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/git-cliff-release.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ body = """
- {{ "**" ~ scope ~ ":" ~ "**" -}}
{% for commit in commits -%}
{% if commits | length != 1 %}{{ newline ~ " - " }}{% else %}{{ " " }}{% endif -%}
{{ commit.message | upper_first | trim }} ([`{{ commit.id | truncate(length=7, end="") }}`]({{ commit_base_url ~ commit.id }})) by {{ commit.remote.username -}}
{{ commit.message | upper_first | trim }} ([`{{ commit.id | truncate(length=7, end="") }}`]({{ commit_base_url ~ commit.id }})) by @{{ commit.remote.username -}}
{%- endfor -%}
{%- endfor -%}
{%- for commit in commits -%}
{% if commit.scope %}{% else %}
- {{ commit.message | upper_first | trim }} ([`{{ commit.id | truncate(length=7, end="") }}`]({{ commit_base_url ~ commit.id }})) by {{ commit.remote.username -}}
- {{ commit.message | upper_first | trim }} ([`{{ commit.id | truncate(length=7, end="") }}`]({{ commit_base_url ~ commit.id }})) by @{{ commit.remote.username -}}
{%- endif %}
{%- endfor %}
{% endfor %}
Expand Down

0 comments on commit 158d1a3

Please sign in to comment.