forked from hashicorp/terraform-plugin-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.changelog.tmpl
42 lines (36 loc) · 805 Bytes
/
.changelog.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{{- if .NotesByType.note -}}
NOTES:
{{range .NotesByType.note -}}
* {{ template "note" .}}
{{ end -}}
{{- end -}}
{{- if .NotesByType.deprecation -}}
DEPRECATIONS:
{{range .NotesByType.deprecation -}}
* {{ template "note" .}}
{{ end -}}
{{- end -}}
{{- if index .NotesByType "breaking-change" -}}
BREAKING CHANGES:
{{range index .NotesByType "breaking-change" -}}
* {{ template "note" .}}
{{ end -}}
{{- end -}}
{{- if .NotesByType.feature }}
FEATURES:
{{range .NotesByType.feature | 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 -}}
* {{ template "note" . }}
{{ end -}}
{{- end -}}