.chglog/CHANGELOG.tpl.md aktualisiert

This commit is contained in:
2025-05-29 15:11:02 +02:00
parent de5eda6c0d
commit 89c7fef7d2

View File

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