mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-23 21:30:39 +00:00
chore: adjust changelog template to link to prs instead of issues (#252)
This commit is contained in:
parent
e31cd31542
commit
f1050dda61
@ -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 -}}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user