From 697bed098c043ea2fd1fce773a33fe8695fa4250 Mon Sep 17 00:00:00 2001 From: Ralf Kirchner Date: Thu, 29 May 2025 11:08:06 +0200 Subject: [PATCH] .chglog/CHANGELOG.tpl.md aktualisiert --- .chglog/CHANGELOG.tpl.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md index 6c5207d..5520bc1 100755 --- a/.chglog/CHANGELOG.tpl.md +++ b/.chglog/CHANGELOG.tpl.md @@ -2,34 +2,34 @@ ## BlueMastoFeed {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }} -{{ if .CommitGroups }} +{{- if .CommitGroups }} ### Changes {{ range .CommitGroups }} #### {{ .Title }} {{ range .Commits }} - {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} - {{- with .Hash }}[`{{ . | truncate 7 }}`]({{ $.Info.RepositoryURL }}/commit/{{ . }}){{ end }} by @{{ .Author.Name }} + [`{{ slice .Hash 0 7 }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) by @{{ .Author.Name }} {{ end }} {{ end }} {{ end }} -{{ if .MergeCommits }} +{{- if .MergeCommits }} ### Pull Requests {{ range .MergeCommits }} - {{ .Header }} - [`{{ .Hash | truncate 7 }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) by @{{ .Author.Name }} + [`{{ slice .Hash 0 7 }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) by @{{ .Author.Name }} {{ end }} {{ end }} -{{ if .RevertCommits }} +{{- if .RevertCommits }} ### Reverts {{ range .RevertCommits }} - {{ .Revert.Header }} - [`{{ .Hash | truncate 7 }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) by @{{ .Author.Name }} + [`{{ slice .Hash 0 7 }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) by @{{ .Author.Name }} {{ end }} {{ end }} -{{ if .NoteGroups }} +{{- if .NoteGroups }} ### Notes {{ range .NoteGroups }} #### {{ .Title }}