2021-02-15 19:52:53 +00:00
|
|
|
# Changelog
|
|
|
|
|
|
|
|
{{ range .Versions -}}
|
|
|
|
## {{ 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 -}}
|
2021-12-12 12:04:06 +00:00
|
|
|
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ (regexReplaceAll "(.*)/issues/(.*)" (regexReplaceAll "(Co-\\w*-by.*)" .Subject "") "${1}/pull/${2}") | trim }}
|
2021-02-15 19:52:53 +00:00
|
|
|
{{ end }}
|
2021-05-09 21:46:14 +00:00
|
|
|
{{- end -}}
|
2021-02-15 19:52:53 +00:00
|
|
|
|
|
|
|
{{- if .NoteGroups -}}
|
|
|
|
{{ range .NoteGroups -}}
|
|
|
|
### {{ .Title }}
|
|
|
|
|
|
|
|
{{ range .Notes }}
|
|
|
|
{{ .Body }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end -}}
|
|
|
|
{{ end -}}
|
|
|
|
{{ end -}}
|