diff --git a/.chglog/CHANGELOG-RELEASE.tpl.md b/.chglog/CHANGELOG-RELEASE.tpl.md index a2e8593..5a0e228 100644 --- a/.chglog/CHANGELOG-RELEASE.tpl.md +++ b/.chglog/CHANGELOG-RELEASE.tpl.md @@ -1,32 +1,47 @@ # Changelog -{{ range .Versions }} -{{ range .CommitGroups -}} + +{{- range .Versions }} +{{- range .CommitGroups }} + ### {{ .Title }} -{{ range .Commits -}} -- {{ if .Scope }}**{{ .Scope }}:** {{ end }} {{.Hash.Short}}: {{ .Subject }} (@{{.Author.Name}}) - {{ end }} - {{ end -}} -{{- if .RevertCommits -}} + {{- range .Commits }} + +- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{.Hash.Short}}: {{ .Subject }} (@{{.Author.Name}}) + {{- end }} + {{- end }} + + {{- if .RevertCommits }} + ### Reverts -{{ range .RevertCommits -}} + + {{- range .RevertCommits }} + - {{ .Revert.Header }} - {{ end }} - {{ end -}} + {{- end }} + {{- end }} + + {{- if .MergeCommits }} -{{- if .MergeCommits -}} ### Pull Requests -{{ range .MergeCommits -}} + + {{- range .MergeCommits }} + - {{ .Header }} - {{ end }} - {{ end -}} + {{- end }} + {{- end }} + + {{- if .NoteGroups }} + {{- range .NoteGroups }} -{{- if .NoteGroups -}} -{{ range .NoteGroups -}} ### {{ .Title }} -{{ range .Notes }} + + {{- if .Notes }} + {{- range .Notes }} + {{ .Body }} -{{ end }} -{{ end -}} -{{ end -}} -{{ end -}} \ No newline at end of file +{{- end }} +{{- end }} +{{- end }} +{{- end }} +{{- end }}