From cc3458eab0c058e9a57ea64183e07958c39a0afb Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 12 Jun 2022 20:15:42 +0200 Subject: docs: add changelog --- .chglog/CHANGELOG.tpl.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 .chglog/CHANGELOG.tpl.md (limited to '.chglog/CHANGELOG.tpl.md') diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md new file mode 100755 index 0000000..5e88feb --- /dev/null +++ b/.chglog/CHANGELOG.tpl.md @@ -0,0 +1,31 @@ +{{ if .Versions -}} +## Unreleased + +{{ if .Unreleased.CommitGroups -}} +{{ range .Unreleased.CommitGroups -}} +### {{ .Title }} +{{ range .Commits -}} +- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} +{{ end }} +{{ end -}} +{{ end -}} +{{ end -}} + +{{ range .Versions }} +## {{ .Tag.Name }} - {{ datetime "2006-01-02" .Tag.Date }} +{{ range .CommitGroups -}} +### {{ .Title }} +{{ range .Commits -}} +- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} +{{ end }} +{{ end -}} + +{{- if .NoteGroups -}} +{{ range .NoteGroups -}} +### {{ .Title }} +{{ range .Notes }} +{{ .Body }} +{{ end }} +{{ end -}} +{{ end -}} +{{ end -}} \ No newline at end of file -- cgit v1.2.3-18-g5258