2021-03-23 20:05:59 +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 }}
|
|
|
|
|
2021-05-09 21:01:34 +00:00
|
|
|
{{ $subjects := list }}
|
2021-03-23 20:05:59 +00:00
|
|
|
{{ range .Commits -}}
|
2021-05-09 21:01:34 +00:00
|
|
|
{{ if not (has .Subject $subjects) -}}
|
2021-03-23 20:05:59 +00:00
|
|
|
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
2021-05-09 21:01:34 +00:00
|
|
|
{{ $subjects = append $subjects .Subject -}}
|
2021-03-23 20:05:59 +00:00
|
|
|
{{ end }}
|
2021-05-09 21:01:34 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- end -}}
|
2021-03-23 20:05:59 +00:00
|
|
|
|
|
|
|
{{- if .NoteGroups -}}
|
|
|
|
{{ range .NoteGroups -}}
|
|
|
|
### {{ .Title }}
|
|
|
|
|
|
|
|
{{ range .Notes }}
|
|
|
|
{{ .Body }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end -}}
|
|
|
|
{{ end -}}
|
|
|
|
{{ end -}}
|