Commit b364e0e2 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

chore: Update git-chglog config

parent c113f08c
{{ if .Versions -}}
<a name="unreleased"></a>
## [Unreleased]
{{ if .Unreleased.CommitGroups -}}
{{ range .Unreleased.CommitGroups -}}
{{ .Title }}
{{ range .Commits -}}
* {{if .Refs}}{{range .Refs}}#{{.Ref}} {{end}}{{end}}{{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{ end }}
{{ end -}}
{{ end -}}
{{ end -}}
{{ range .Versions }}
<a name="{{ .Tag.Name }}"></a>
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }}
nbxmpp {{ .Tag.Name }} ({{ datetime "02 Jan 2006" .Tag.Date }})
{{ range .CommitGroups -}}
{{ .Title }}
{{ if .Title }} {{ .Title }}{{end}}
{{ range .Commits -}}
* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{ if .Subject }} * {{ .Subject }}{{end}}{{if .Refs}} ({{range .Refs}}#{{.Ref}}{{end}}){{end}}
{{ end }}
{{ end -}}
......@@ -32,13 +17,7 @@
{{ end }}
{{ end -}}
{{ end -}}
{{ end -}}
{{- if .Versions }}
[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD
{{ range .Versions -}}
{{ if .Tag.Previous -}}
[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}
{{ end -}}
{{break}}
{{ end -}}
{{ end -}}
\ No newline at end of file
......@@ -9,6 +9,7 @@ options:
Type:
- feat
- imprv
- change
- perf
- fix
commit_groups:
......@@ -16,11 +17,13 @@ options:
title_order:
- feat
- imprv
- change
- perf
- fix
title_maps:
feat: New
imprv: Improvements
change: Change
perf: Performance
fix: Bug Fixes
header:
......@@ -34,3 +37,6 @@ options:
refs:
actions:
- Fixes
notes:
keywords:
- NOTES
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment