Signed-off-by: Alexander Davis <alex@adcm.uk>
Some checks failed
Changelog / changelog (push) Failing after 21s

This commit is contained in:
2025-12-26 21:27:49 +00:00
parent 2b73e3e8a2
commit e861dd40d9

View File

@@ -29,22 +29,10 @@ body = """
# A Tera template to be rendered as the changelog's footer. # A Tera template to be rendered as the changelog's footer.
# See https://keats.github.io/tera/docs/#introduction # See https://keats.github.io/tera/docs/#introduction
footer = """ footer = """
{% for release in releases -%} {{#if release.previous}}
{% if release.version -%} [{{release.version}}]: {{remote_url}}/compare/{{release.previous.version}}...{{release.version}}
{% if release.previous.version -%} {{/if}}
[{{ release.version | trim_start_matches(pat="v") }}]: \ """
https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}\
/compare/{{ release.previous.version }}..{{ release.version }}
{% else -%}
[{{ release.version | trim_start_matches(pat="v") }}]: \
https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}\
/tree/{{ release.version }}
{% endif -%}
{% else -%}
[unreleased]: https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}\
/compare/{{ release.previous.version }}..HEAD
{% endif -%}
{% endfor %}
<!-- generated by git-cliff --> <!-- generated by git-cliff -->
""" """
# Remove leading and trailing whitespaces from the changelog's body. # Remove leading and trailing whitespaces from the changelog's body.