diff options
author | lovetox <philipp@hoerist.com> | 2022-06-21 22:53:04 +0300 |
---|---|---|
committer | lovetox <philipp@hoerist.com> | 2022-06-21 22:56:38 +0300 |
commit | e0b32d9e91d503d1501ac8ead6bd1134ea209675 (patch) | |
tree | 470967a18fb4fce83d53d92dcb652b20bf0632cd /.chglog | |
parent | ec46547c3b0efb7a94b2b16e59571e2ce7d64562 (diff) |
chore: Update git-chglog template
Diffstat (limited to '.chglog')
-rwxr-xr-x | .chglog/CHANGELOG.tpl.md | 35 |
1 files changed, 7 insertions, 28 deletions
diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md index 3e8b9c2d2..22dcf5dee 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 }} +Gajim {{ .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 |