Browse Source

chore: adjust changelog template to link to prs instead of issues (#37)

Co-authored-by: Robert Kaussow <xoxys@rknet.org>
Co-committed-by: Robert Kaussow <xoxys@rknet.org>
pull/38/head
Robert Kaussow 7 months ago
parent
commit
b54d1be0cd
  1. 2
      .chglog/CHANGELOG.tpl.md

2
.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 -}}

Loading…
Cancel
Save