aboutsummaryrefslogtreecommitdiff
path: root/.chglog/CHANGELOG.tpl.md
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-07-22 13:39:49 +0200
committerHampusM <hampus@hampusmat.com>2022-07-22 13:39:49 +0200
commite5ea69d8e92e2b683a3cbe608d89d62e59cacb88 (patch)
tree2e4313c4c8805ff4935c1b47a023759a69060805 /.chglog/CHANGELOG.tpl.md
parent4cb3884e24b3cba3347ff93475bbabd6fe18d2fa (diff)
docs: add changelog
Diffstat (limited to '.chglog/CHANGELOG.tpl.md')
-rwxr-xr-x.chglog/CHANGELOG.tpl.md38
1 files changed, 38 insertions, 0 deletions
diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md
new file mode 100755
index 0000000..d6fe361
--- /dev/null
+++ b/.chglog/CHANGELOG.tpl.md
@@ -0,0 +1,38 @@
+{{ 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 .RevertCommits -}}
+### Reverts
+{{ range .RevertCommits -}}
+- {{ .Revert.Header }}
+{{ end }}
+{{ end -}}
+
+{{- if .NoteGroups -}}
+{{ range .NoteGroups -}}
+### {{ .Title }}
+{{ range .Notes }}
+{{ .Body }}
+{{ end }}
+{{ end -}}
+{{ end -}}
+{{ end -}} \ No newline at end of file