aboutsummaryrefslogtreecommitdiff
path: root/.chglog/CHANGELOG.tpl.md
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-06-12 20:15:42 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:57:02 +0200
commitcc3458eab0c058e9a57ea64183e07958c39a0afb (patch)
treedf1cf47f7673e6f990f80f1601a9a0187e3cd375 /.chglog/CHANGELOG.tpl.md
parentfdd4590cb2f34e7221ae7dd0422d73bc3fab69fc (diff)
docs: add changelog
Diffstat (limited to '.chglog/CHANGELOG.tpl.md')
-rwxr-xr-x.chglog/CHANGELOG.tpl.md31
1 files changed, 31 insertions, 0 deletions
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