diff options
author | lovetox <philipp@hoerist.com> | 2022-07-27 10:55:26 +0300 |
---|---|---|
committer | lovetox <philipp@hoerist.com> | 2022-07-27 10:55:26 +0300 |
commit | b364e0e2403e5c95f55f686cadf8e5ad8665c5a6 (patch) | |
tree | b65701f65dfbf89368559461d2c18a5458b692fa /.chglog | |
parent | c113f08ce75bfe1d068759c8bf38033d7d6ffcd3 (diff) |
chore: Update git-chglog config
Diffstat (limited to '.chglog')
-rwxr-xr-x | .chglog/CHANGELOG.tpl.md | 35 | ||||
-rwxr-xr-x | .chglog/config.yml | 6 |
2 files changed, 13 insertions, 28 deletions
diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md index 3e8b9c2..f850d5f 100755 --- a/.chglog/CHANGELOG.tpl.md +++ b/.chglog/CHANGELOG.tpl.md @@ -1,26 +1,11 @@ -{{ 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 diff --git a/.chglog/config.yml b/.chglog/config.yml index 9d3be2a..0e4b375 100755 --- a/.chglog/config.yml +++ b/.chglog/config.yml @@ -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 |