Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thegeeklab/hugo-geekdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Kaussow <mail@thegeeklab.de>2021-09-22 12:51:35 +0300
committerRobert Kaussow <mail@thegeeklab.de>2021-09-22 12:51:35 +0300
commit29a6da8b6e536c6a77edc92845f89f602bc16cc2 (patch)
tree3160ec57e7de54a21e35b7acfb9927cea237d792 /.chglog
parentea848a9cb7d2edc82fcbaee3bed635228d28f05c (diff)
improve changelog template
Diffstat (limited to '.chglog')
-rwxr-xr-x.chglog/CHANGELOG.tpl.md4
1 files 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 -}}