.chglog/CHANGELOG.tpl.md aktualisiert

This commit is contained in:
2025-05-29 15:14:36 +02:00
parent 949734db93
commit b28e025fad

View File

@ -6,8 +6,8 @@
### {{ .Title }}
{{ range .Commits -}}
{{ $hash := printf "%s" .Hash }}
{{ $short := (print (index $hash 0) (index $hash 1) (index $hash 2) (index $hash 3) (index $hash 4) (index $hash 5) (index $hash 6)) }}
{{ $hash := .Hash }}
{{ $short := printf "%.7s" $hash }}
* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} ([{{ $short }}]({{ $.Info.RepositoryURL }}/commit/{{ $hash }}))
{{ end }}
{{ end }}
@ -16,8 +16,8 @@
### Reverts
{{ range .RevertCommits -}}
{{ $hash := printf "%s" .Hash }}
{{ $short := (print (index $hash 0) (index $hash 1) (index $hash 2) (index $hash 3) (index $hash 4) (index $hash 5) (index $hash 6)) }}
{{ $hash := .Hash }}
{{ $short := printf "%.7s" $hash }}
* {{ .Revert.Header }} ([{{ $short }}]({{ $.Info.RepositoryURL }}/commit/{{ $hash }}))
{{ end }}
{{ end }}
@ -26,8 +26,8 @@
### Pull Requests
{{ range .MergeCommits -}}
{{ $hash := printf "%s" .Hash }}
{{ $short := (print (index $hash 0) (index $hash 1) (index $hash 2) (index $hash 3) (index $hash 4) (index $hash 5) (index $hash 6)) }}
{{ $hash := .Hash }}
{{ $short := printf "%.7s" $hash }}
* {{ .Header }} ([{{ $short }}]({{ $.Info.RepositoryURL }}/commit/{{ $hash }}))
{{ end }}
{{ end }}