Skip to content

Commit

Permalink
build: add footer template for git-cliff
Browse files Browse the repository at this point in the history
  • Loading branch information
link2xt committed Feb 20, 2024
1 parent b29bc19 commit 8a67797
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,17 @@ body = """
"""
# remove the leading and trailing whitespace from the template
trim = true
footer = """
{% for release in releases -%}
{% if release.version -%}
{% if release.previous.version -%}
[{{ release.version | trim_start_matches(pat="v") }}]: \
https://github.com/deltachat/deltachat-core-rust\
/compare/{{ release.previous.version }}..{{ release.version }}
{% endif -%}
{% else -%}
[unreleased]: https://github.com/deltachat/deltachat-core-rust\
/compare/{{ release.previous.version }}..HEAD
{% endif -%}
{% endfor %}
"""

0 comments on commit 8a67797

Please sign in to comment.