From b54d1be0cd49d333b3e05e904026d29fd8950e9c Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 12 Dec 2021 13:26:53 +0100 Subject: [PATCH] chore: adjust changelog template to link to prs instead of issues (#37) Co-authored-by: Robert Kaussow Co-committed-by: Robert Kaussow --- .chglog/CHANGELOG.tpl.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md index 4d6bff8..cc0367b 100755 --- a/.chglog/CHANGELOG.tpl.md +++ b/.chglog/CHANGELOG.tpl.md @@ -7,7 +7,7 @@ ### {{ .Title }} {{ range .Commits -}} -- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ (regexReplaceAll "(Co-\\w*-by.*)" .Subject "") | trim }} +- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ (regexReplaceAll "(.*)/issues/(.*)" (regexReplaceAll "(Co-\\w*-by.*)" .Subject "") "${1}/pulls/${2}") | trim }} {{ end }} {{- end -}}