Browse Source

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

pull/12387/head
Evan Culver 3 years ago committed by GitHub
parent
commit
8a301fb915
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      .changelog/12376.txt
  2. 5
      .changelog/changelog.tmpl

3
.changelog/12376.txt

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

5
.changelog/changelog.tmpl

@ -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