ci: combine 'enhancement' entry type with 'improvement' (#12376)
This commit is contained in:
parent
2d5254a73b
commit
bdb120f79d
|
@ -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…
Reference in New Issue