From eee2f8844310e32b4df0bbae4a5aff7e274e78bd Mon Sep 17 00:00:00 2001 From: Khosrow Moossavi Date: Fri, 3 Jan 2020 18:35:44 -0500 Subject: [PATCH] Show breaking change section in 'unreleased' section --- scripts/chglog/CHANGELOG-full-history.tpl.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/chglog/CHANGELOG-full-history.tpl.md b/scripts/chglog/CHANGELOG-full-history.tpl.md index 62d8f09..2a52952 100755 --- a/scripts/chglog/CHANGELOG-full-history.tpl.md +++ b/scripts/chglog/CHANGELOG-full-history.tpl.md @@ -15,6 +15,15 @@ - {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ if .Subject }}{{ .Subject }}{{ else }}{{ .Header }}{{ end }} {{ end }} {{ end -}} + +{{- if .Unreleased.NoteGroups -}} +{{ range .Unreleased.NoteGroups -}} +### {{ .Title }} +{{ range .Notes }} +{{ .Body }} +{{ end }} +{{ end -}} +{{ end -}} {{ end -}} {{ range .Versions }}