diff options
author | Robert Kaussow <mail@thegeeklab.de> | 2022-02-08 00:56:46 +0300 |
---|---|---|
committer | Robert Kaussow <mail@thegeeklab.de> | 2022-02-08 00:56:46 +0300 |
commit | 0dc708588a4518470f817ad5070a8e79a4c25edb (patch) | |
tree | 77cf1f6266460af72c52382170601a29058db95c | |
parent | e1d9239d2d89a825a3b64b8523eb279ff7bc638e (diff) |
revert changelog configreduce-whitespaces
-rwxr-xr-x | .chglog/CHANGELOG.tpl.md | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md index 88101a1..b79faa8 100755 --- a/.chglog/CHANGELOG.tpl.md +++ b/.chglog/CHANGELOG.tpl.md @@ -1,27 +1,23 @@ # 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 -}} +{{ 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 -}} +{{ range .Commits -}} +- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ (regexReplaceAll "(.*)/issues/(.*)" (regexReplaceAll "(Co-\\w*-by.*)" .Subject "") "${1}/pull/${2}") | trim }} +{{ end }} +{{- end -}} {{- if .NoteGroups -}} -{{- range .NoteGroups -}} - +{{ range .NoteGroups -}} ### {{ .Title }} -{{- range .Notes }} +{{ range .Notes }} {{ .Body }} -{{- end }} -{{- end -}} -{{- end -}} -{{- end -}} +{{ end }} +{{ end -}} +{{ end -}} +{{ end -}} |