Files
demo/.chglog/CHANGELOG.tpl.md

42 lines
1.1 KiB
Markdown
Raw Normal View History

2025-05-29 14:21:28 +02:00
{{ with index .Versions 0 }}
2025-05-28 20:16:08 +02:00
<a name="{{ .Tag.Name }}"></a>
2025-05-29 14:49:45 +02:00
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }})
2025-05-29 11:05:09 +02:00
2025-05-29 13:47:05 +02:00
{{ range .CommitGroups -}}
### {{ .Title }}
2025-05-29 11:15:59 +02:00
2025-05-29 13:47:05 +02:00
{{ range .Commits -}}
2025-05-29 15:10:11 +02:00
{{ $hash := printf "%s" .Hash }}
* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} ([{{ slice $hash 0 7 }}]({{ $.Info.RepositoryURL }}/commit/{{ $hash }}))
{{ end }}
2025-05-28 20:16:08 +02:00
{{ end }}
2025-05-29 13:47:05 +02:00
{{- if .RevertCommits -}}
### Reverts
2025-05-29 11:15:59 +02:00
2025-05-29 13:47:05 +02:00
{{ range .RevertCommits -}}
2025-05-29 15:10:11 +02:00
{{ $hash := printf "%s" .Hash }}
* {{ .Revert.Header }} ([{{ slice $hash 0 7 }}]({{ $.Info.RepositoryURL }}/commit/{{ $hash }}))
{{ end }}
2025-05-28 20:16:08 +02:00
{{ end }}
2025-05-29 13:47:05 +02:00
{{- if .MergeCommits -}}
### Pull Requests
2025-05-29 11:15:59 +02:00
2025-05-29 13:47:05 +02:00
{{ range .MergeCommits -}}
2025-05-29 15:10:11 +02:00
{{ $hash := printf "%s" .Hash }}
* {{ .Header }} ([{{ slice $hash 0 7 }}]({{ $.Info.RepositoryURL }}/commit/{{ $hash }}))
{{ end }}
2025-05-29 11:05:09 +02:00
{{ end }}
2025-05-28 20:16:08 +02:00
2025-05-29 13:47:05 +02:00
{{- if .NoteGroups -}}
{{ range .NoteGroups -}}
### {{ .Title }}
2025-05-29 11:15:59 +02:00
2025-05-28 20:16:08 +02:00
{{ range .Notes }}
2025-05-29 13:47:05 +02:00
{{ .Body }}
2025-05-28 20:16:08 +02:00
{{ end }}
2025-05-29 15:10:11 +02:00
{{ end }}
{{ end }}
2025-05-29 14:21:28 +02:00
{{ end }}