From 29a6da8b6e536c6a77edc92845f89f602bc16cc2 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 22 Sep 2021 11:51:35 +0200 Subject: [PATCH] improve changelog template --- .chglog/CHANGELOG.tpl.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md index 95a8415..4d6bff8 100755 --- a/.chglog/CHANGELOG.tpl.md +++ b/.chglog/CHANGELOG.tpl.md @@ -7,9 +7,9 @@ ### {{ .Title }} {{ range .Commits -}} -- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} +- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ (regexReplaceAll "(Co-\\w*-by.*)" .Subject "") | trim }} {{ end }} -{{ end -}} +{{- end -}} {{- if .NoteGroups -}} {{ range .NoteGroups -}}