ci: combine 'enhancement' entry type with 'improvement' (#12376)

pull/12387/head
Evan Culver 3 years ago committed by GitHub
parent 85ecbaf109
commit 8a301fb915
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,3 @@
```release-note:enhancement
ci: include 'enhancement' entry type in IMPROVEMENTS section of changelog.
```

@ -22,10 +22,11 @@ FEATURES:
{{ end -}} {{ end -}}
{{- end -}} {{- end -}}
{{- if .NotesByType.improvement }} {{- $improvements := combineTypes .NotesByType.improvement .NotesByType.enhancement -}}
{{- if $improvements }}
IMPROVEMENTS: IMPROVEMENTS:
{{range .NotesByType.improvement -}} {{range $improvements | sort -}}
* {{ template "note" . }} * {{ template "note" . }}
{{ end -}} {{ end -}}
{{- end -}} {{- end -}}

Loading…
Cancel
Save