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

github.com/thegeeklab/hugo-geekblog.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:34 +0300
committerRobert Kaussow <mail@thegeeklab.de>2021-09-22 12:51:34 +0300
commit311f01102cfb17e47d0216d8944f843104ed10b4 (patch)
tree238a32b7adf1dbaa1db0962955bfe7b30462282a /.chglog
parentd0b9a1006a8de3c8bdc31e1db6681bf92eef6120 (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 -}}