nwaku/.sv4git/templates/releasenotes-md.tpl
Vaclav Pavlin ceb54b1821
feat: add release-notes target (#1734)
* feat: add release-notes target

* chore(makefile): add template and sv4git config
2023-05-18 14:45:45 +02:00

9 lines
436 B
Smarty

## {{if .Release}}{{.Release}}{{end}}{{if and (not .Date.IsZero) .Release}} ({{end}}{{timefmt .Date "2006-01-02"}}{{if and (not .Date.IsZero) .Release}}){{end}}
{{- range $section := .Sections }}
{{- if (eq $section.SectionType "commits") }}
{{- template "rn-md-section-commits.tpl" $section }}
{{- else if (eq $section.SectionType "breaking-changes")}}
{{- template "rn-md-section-breaking-changes.tpl" $section }}
{{- end}}
{{- end}}