2023-05-21 20:58:49 +08:00
|
|
|
# {{ .Info.Title }}
|
|
|
|
|
|
|
|
Please adjust manually before add content to CHANGELOG.md.
|
|
|
|
|
|
|
|
{{ if .Versions -}}
|
|
|
|
## [Unreleased]({{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD)
|
|
|
|
|
|
|
|
{{ if .Unreleased.CommitGroups -}}
|
|
|
|
{{ range .Unreleased.CommitGroups -}}
|
|
|
|
### {{ .Title }}
|
|
|
|
{{ range .Commits -}}
|
|
|
|
* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end -}}
|
|
|
|
{{ end -}}
|
|
|
|
{{ end -}}
|
|
|
|
|
|
|
|
{{ 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 }})
|
|
|
|
|
2023-05-16 00:31:44 +08:00
|
|
|
{{ range .CommitGroups -}}
|
2023-05-21 20:58:49 +08:00
|
|
|
### {{ .Title }}
|
2023-05-16 00:31:44 +08:00
|
|
|
|
2023-05-21 20:58:49 +08:00
|
|
|
{{ range .Commits -}}
|
|
|
|
* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
|
|
|
{{ end }}
|
2023-05-16 00:31:44 +08:00
|
|
|
{{ end -}}
|
|
|
|
|
|
|
|
{{- if .NoteGroups -}}
|
|
|
|
{{ range .NoteGroups -}}
|
|
|
|
### {{ .Title }}
|
|
|
|
|
|
|
|
{{ range .Notes }}
|
|
|
|
{{ .Body }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end -}}
|
|
|
|
{{ end -}}
|
|
|
|
{{ end -}}
|