mirror of
https://github.com/thegeeklab/wp-git-action.git
synced 2024-11-22 10:10:39 +00:00
24 lines
621 B
Markdown
24 lines
621 B
Markdown
|
# Changelog
|
||
|
|
||
|
{{ range .Versions -}}
|
||
|
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }})
|
||
|
|
||
|
{{ range .CommitGroups -}}
|
||
|
### {{ .Title }}
|
||
|
|
||
|
{{ range .Commits -}}
|
||
|
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ (regexReplaceAll "(.*)/issues/(.*)" (regexReplaceAll "(Co-\\w*-by.*)" .Subject "") "${1}/pull/${2}") | trim }}
|
||
|
{{ end }}
|
||
|
{{- end -}}
|
||
|
|
||
|
{{- if .NoteGroups -}}
|
||
|
{{ range .NoteGroups -}}
|
||
|
### {{ .Title }}
|
||
|
|
||
|
{{ range .Notes }}
|
||
|
{{ .Body }}
|
||
|
{{ end }}
|
||
|
{{ end -}}
|
||
|
{{ end -}}
|
||
|
{{ end -}}
|