build: rename and improve template for git tag patchnotes
simple -> tag Handle the strangeness in how git wants to format tag messages
This commit is contained in:
parent
2b49e4068b
commit
33f146b550
|
@ -1,10 +1,18 @@
|
|||
{%- if version -%}
|
||||
## [{{ version }}] - {{ timestamp | date(format="%Y-%m-%d") }}
|
||||
+
|
||||
===================
|
||||
{{ version }} - {{ timestamp | date(format="%Y-%m-%d") }}
|
||||
===================
|
||||
{%- else -%}
|
||||
## Unreleased
|
||||
+
|
||||
==========
|
||||
Unreleased
|
||||
==========
|
||||
{%- endif -%}
|
||||
{%- if true %}
|
||||
{% endif -%}
|
||||
{% for group, commits in commits | group_by(attribute="group") %}
|
||||
### {{ group | upper_first }}
|
||||
{{ group | upper_first }}
|
||||
{%- for commit in commits %}
|
||||
- {% if commit.breaking %}**breaking** {% endif %}{{ commit.message }}
|
||||
{%- endfor -%}
|
Loading…
Reference in New Issue