0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-06-30 02:31:10 +00:00
terraform-provider-proxmox/scripts/changelog.tmpl
2021-09-08 22:17:05 -04:00

42 lines
810 B
Cheetah

{{- if index .NotesByType "breaking-change" }}
BREAKING CHANGES:
{{range index .NotesByType "breaking-change" -}}
{{ template "note" .}}
{{ end -}}
{{- end -}}
{{- if .NotesByType.note }}
NOTES:
{{range .NotesByType.note -}}
{{ template "note" .}}
{{ end -}}
{{- end -}}
{{- $features := combineTypes .NotesByType.feature (index .NotesByType "new-resource" ) (index .NotesByType "new-data-source") (index .NotesByType "new-guide") }}
{{- if $features }}
FEATURES:
{{range $features | sort -}}
{{ template "note" . }}
{{ end -}}
{{- end -}}
{{- if .NotesByType.enhancement }}
ENHANCEMENTS:
{{range .NotesByType.enhancement | sort -}}
{{ template "note" .}}
{{ end -}}
{{- end -}}
{{- if .NotesByType.bug }}
BUG FIXES:
{{range .NotesByType.bug | sort -}}
{{ template "note" . }}
{{ end -}}
{{- end -}}