mirror of
https://github.com/orhun/git-cliff.git
synced 2024-12-02 15:32:33 +03:00
890de0007e
The Tera website changed from Netlify to GitHub Pages, with the old Netlify deployment gone. Therefore, all links to Tera should point to the new URL.
23 lines
636 B
TOML
23 lines
636 B
TOML
# git-cliff ~ configuration file
|
|
# https://git-cliff.org/docs/configuration
|
|
|
|
[changelog]
|
|
# template for the changelog body
|
|
# https://keats.github.io/tera/docs/#introduction
|
|
body = """
|
|
{% if version %}\
|
|
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}\
|
|
{% else %}\
|
|
## [unreleased]\
|
|
{% endif %}\
|
|
{% for group, commits in commits | group_by(attribute="group") %}
|
|
### {{ group | upper_first }}
|
|
{% for commit in commits %}\
|
|
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first }}
|
|
{% endfor %}\
|
|
{% endfor %}\n
|
|
"""
|
|
|
|
[git]
|
|
limit_commits = 3
|