change(git-cliff): include a header for untagged cliffs

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2022-02-08 09:43:07 -08:00
parent 310484a8cc
commit bf0623d8c7
No known key found for this signature in database
GPG key ID: F7E46DED420788F3

View file

@ -9,6 +9,9 @@ body = """
{% if version %}\ {% if version %}\
Release {{ version }} - {{ timestamp | date(format="%Y-%m-%d") }} Release {{ version }} - {{ timestamp | date(format="%Y-%m-%d") }}
--------------------------- ---------------------------
{% else %}\
Changelog (untagged)
---------------------------
{% endif %}\ {% endif %}\
{% for group, commits in commits | group_by(attribute="group") %} {% for group, commits in commits | group_by(attribute="group") %}
{{ group | lower }}:\ {{ group | lower }}:\