0
0
mirror of https://github.com/thegeeklab/wp-ansible.git synced 2024-11-09 17:10:41 +00:00
wp-ansible/.chglog/CHANGELOG.tpl.md

564 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 }}

{{ range .Commits -}}

  • {{ if .Scope }}{{ .Scope }}: {{ end }}{{ (regexReplaceAll "Co-\w*-by.*" .Subject "") | trim }} {{ end }} {{ end -}}

{{- if .NoteGroups -}} {{ range .NoteGroups -}}

{{ .Title }}

{{ range .Notes }} {{ .Body }} {{ end }} {{ end -}} {{ end -}} {{ end -}}