Skip to content

Commit 154703f

Browse files
committed
fix(ci): replace self::remote_url() with hardcoded URL in cliff.toml
git-cliff v2.12.0 does not support the self:: macro namespace in Tera templates
1 parent 5b7e1da commit 154703f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cliff.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ body = """
1414
- {% if commit.breaking %}**BREAKING:** {% endif %}\
1515
{% if commit.scope %}({{ commit.scope }}) {% endif %}\
1616
{{ commit.message | split(pat=": ") | last }}\
17-
([{{ commit.id | truncate(length=7, end="") }}]({{ self::remote_url() }}/commit/{{ commit.id }}))\
17+
([{{ commit.id | truncate(length=7, end="") }}](https://github.com/dmicheneau/opencode-template-agent/commit/{{ commit.id }}))\
1818
{% endfor %}
1919
{% endfor %}
2020
"""
2121
footer = """
2222
{%- for release in releases -%}
2323
{% if release.previous %}\
24-
**Full Changelog**: [{{ release.previous.version }}...{{ release.version }}]({{ self::remote_url() }}/compare/{{ release.previous.version }}...{{ release.version }})
24+
**Full Changelog**: [{{ release.previous.version }}...{{ release.version }}](https://github.com/dmicheneau/opencode-template-agent/compare/{{ release.previous.version }}...{{ release.version }})
2525
{% endif %}\
2626
{%- endfor -%}
2727
"""

0 commit comments

Comments
 (0)