0
0
mirror of https://github.com/thegeeklab/wp-github-comment.git synced 2024-11-10 03:50:39 +00:00
wp-github-comment/.chglog/CHANGELOG.tpl.md

28 lines
641 B
Markdown
Raw Normal View History

2021-02-15 20:01:43 +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 }}
{{ $subjects := list }}
2021-02-15 20:01:43 +00:00
{{ range .Commits -}}
{{ if not (has .Subject $subjects) -}}
2021-02-15 20:01:43 +00:00
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{ $subjects = append $subjects .Subject -}}
2021-02-15 20:01:43 +00:00
{{ end }}
{{- end }}
{{- end -}}
2021-02-15 20:01:43 +00:00
{{- if .NoteGroups -}}
{{ range .NoteGroups -}}
### {{ .Title }}
{{ range .Notes }}
{{ .Body }}
{{ end }}
{{ end -}}
{{ end -}}
{{ end -}}