.chglog/CHANGELOG.tpl.md aktualisiert

This commit is contained in:
2025-05-29 15:13:57 +02:00
parent 261654d250
commit 949734db93

View File

@ -1 +1,44 @@
des {{ with index .Versions 0 }}
<a name="{{ .Tag.Name }}"></a>
## {{ 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 -}}
{{ $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)) }}
* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} ([{{ $short }}]({{ $.Info.RepositoryURL }}/commit/{{ $hash }}))
{{ end }}
{{ end }}
{{- if .RevertCommits -}}
### 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)) }}
* {{ .Revert.Header }} ([{{ $short }}]({{ $.Info.RepositoryURL }}/commit/{{ $hash }}))
{{ end }}
{{ end }}
{{- if .MergeCommits -}}
### 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)) }}
* {{ .Header }} ([{{ $short }}]({{ $.Info.RepositoryURL }}/commit/{{ $hash }}))
{{ end }}
{{ end }}
{{- if .NoteGroups -}}
{{ range .NoteGroups -}}
### {{ .Title }}
{{ range .Notes }}
{{ .Body }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}