chore: adjust changelog template to link to prs instead of issues

This commit is contained in:
Robert Kaussow 2021-12-12 13:19:34 +01:00
parent 53e20d8d4d
commit ef6cfeede4
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -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}/pull/${2}") | trim }}
{{ end }}
{{- end -}}