mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-10 15:20:40 +00:00
641 B
Executable File
641 B
Executable File
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 }} {{ range .Commits -}} {{ if not (has .Subject $subjects) -}}
- {{ if .Scope }}{{ .Scope }}: {{ end }}{{ .Subject }} {{ $subjects = append $subjects .Subject -}} {{ end }} {{- end }} {{- end -}}
{{- if .NoteGroups -}} {{ range .NoteGroups -}}
{{ .Title }}
{{ range .Notes }} {{ .Body }} {{ end }} {{ end -}} {{ end -}} {{ end -}}