From e17b15f9b85579a7f6a1f3d2fc449d8d6a1eb328 Mon Sep 17 00:00:00 2001 From: Ralf Kirchner Date: Thu, 29 May 2025 11:13:20 +0200 Subject: [PATCH] .chglog/CHANGELOG.tpl.md aktualisiert --- .chglog/CHANGELOG.tpl.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md index 5520bc1..8a42729 100755 --- a/.chglog/CHANGELOG.tpl.md +++ b/.chglog/CHANGELOG.tpl.md @@ -8,7 +8,7 @@ #### {{ .Title }} {{ range .Commits }} - {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} - [`{{ slice .Hash 0 7 }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) by @{{ .Author.Name }} + [`{{ printf "%s" .Hash | slice 0 7 }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) by @{{ .Author.Name }} {{ end }} {{ end }} {{ end }} @@ -17,7 +17,7 @@ ### Pull Requests {{ range .MergeCommits }} - {{ .Header }} - [`{{ slice .Hash 0 7 }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) by @{{ .Author.Name }} + [`{{ printf "%s" .Hash | slice 0 7 }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) by @{{ .Author.Name }} {{ end }} {{ end }} @@ -25,7 +25,7 @@ ### Reverts {{ range .RevertCommits }} - {{ .Revert.Header }} - [`{{ slice .Hash 0 7 }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) by @{{ .Author.Name }} + [`{{ printf "%s" .Hash | slice 0 7 }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) by @{{ .Author.Name }} {{ end }} {{ end }}