From 9f5d329105d30d0a48c47413fcf23dc8328ad526 Mon Sep 17 00:00:00 2001 From: Ralph Slooten Date: Mon, 29 Aug 2022 22:44:32 +1200 Subject: [PATCH] Update CHANGELOG format --- .chglog/CHANGELOG.tpl.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md index 5abaff8..fbf3670 100755 --- a/.chglog/CHANGELOG.tpl.md +++ b/.chglog/CHANGELOG.tpl.md @@ -22,6 +22,16 @@ Notable changes to Mailpit will be documented in this file. {{- if .CommitGroups -}} ## {{ .Tag.Name }} +{{ if .NoteGroups -}} +{{ range .NoteGroups -}} +### {{ .Title }} +{{ range .Notes }} +{{ .Body }} +{{ end }} +{{ end }} +{{ end -}} +{{ end -}} + {{ range .CommitGroups -}} ### {{ .Title }} {{ range .Commits -}} @@ -36,13 +46,3 @@ Notable changes to Mailpit will be documented in this file. - {{ .Header }} {{ end }} {{ end -}} - -{{- if .NoteGroups -}} -{{ range .NoteGroups -}} -### {{ .Title }} -{{ range .Notes }} -{{ .Body }} -{{ end }} -{{ end -}} -{{ end -}} -{{ end -}}