Skip to content

Commit ea014bc

Browse files
authored
chore: fix template (#28)
1 parent f2fa658 commit ea014bc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

cliff.toml

+5-4
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,20 @@ body = """
2525
{% endfor %}\n
2626
{% if version %}
2727
{% if previous.version %}
28-
**Full Changelog**: {{ self::remote_url() }}/compare/{{ previous.version }}...{{ version }}
28+
**Full Changelog**: [{{ previous.version }}...{{ version }}]($REPO/compare/{{ previous.version }}...{{ version }})
2929
{% endif %}
3030
{% else -%}
3131
{% raw %}\n{% endraw %}
3232
{% endif %}
33-
{%- macro remote_url() -%}
34-
https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}
35-
{%- endmacro -%}
3633
"""
3734

3835
# remove the leading and trailing whitespace from the template
3936
trim = true
4037

38+
postprocessors = [
39+
{ pattern = '\$REPO', replace = "https://github.com/beeb/lintpsec" },
40+
]
41+
4142
[git]
4243
# parse the commits based on https://www.conventionalcommits.org
4344
conventional_commits = true

0 commit comments

Comments
 (0)