yary/.git-cliff/tag.tera
Paul Stemmet 33f146b550 build: rename and improve template for git tag patchnotes
simple -> tag

Handle the strangeness in how git wants to format tag messages
2022-04-03 16:55:34 +01:00

20 lines
481 B
Plaintext

{%- if version -%}
+
===================
{{ version }} - {{ timestamp | date(format="%Y-%m-%d") }}
===================
{%- else -%}
+
==========
Unreleased
==========
{%- endif -%}
{%- if true %}
{% endif -%}
{% for group, commits in commits | group_by(attribute="group") %}
{{ group | upper_first }}
{%- for commit in commits %}
- {% if commit.breaking %}**breaking** {% endif %}{{ commit.message }}
{%- endfor -%}
{% endfor %}