1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_restic.git synced 2024-12-11 23:41:32 +01:00
ansible_role_restic/.chglog/CHANGELOG.tpl.md
Matthias Leutenegger 3fe87de594 add: git-chglog
2020-11-12 16:25:48 +01:00

1.3 KiB

{{ if .Versions -}}

[Unreleased]

{{ 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 }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }}

{{ range .CommitGroups -}}

{{ .Title }}

{{ range .Commits -}}

  • {{ if .Scope }}{{ .Scope }}: {{ end }}{{ .Subject }} {{ end }} {{ end -}}

{{- if .RevertCommits -}}

Reverts

{{ range .RevertCommits -}}

  • {{ .Revert.Header }} {{ end }} {{ end -}}

{{- if .MergeCommits -}}

Pull Requests

{{ range .MergeCommits -}}

  • {{ .Header }} {{ end }} {{ end -}}

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

{{ .Title }}

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

History

For versions before 0.2.9, see HISTORY.md

{{- if .Versions }} [Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD {{ range .Versions -}} {{ if .Tag.Previous -}} [{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }} {{ end -}} {{ end -}} {{ end -}}