From 2b3cbb49780abcb257b34c0447271175511f6510 Mon Sep 17 00:00:00 2001 From: Ralf Kirchner Date: Thu, 29 May 2025 14:47:13 +0200 Subject: [PATCH] .chglog/CHANGELOG.tpl.md aktualisiert --- .chglog/CHANGELOG.tpl.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md index 89bd274..e5333ad 100755 --- a/.chglog/CHANGELOG.tpl.md +++ b/.chglog/CHANGELOG.tpl.md @@ -1,12 +1,17 @@ {{ with index .Versions 0 }} -## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }}) +## {{ if .Tag.Previous }} + [{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}) +{{ else }} + {{ .Tag.Name }} +{{ end }} ({{ datetime "2006-01-02" .Tag.Date }}) {{ range .CommitGroups -}} ### {{ .Title }} {{ range .Commits -}} -* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} +* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} + [{{ .Hash | truncate 7 }}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) {{ end }} {{ end -}}