0
0
mirror of https://github.com/thegeeklab/git-sv.git synced 2024-11-14 07:40:40 +00:00
git-sv/templates/assets/releasenotes-md.tpl

9 lines
455 B
Smarty
Raw Normal View History

## {{ if .Release }}{{ .Release }}{{ end }}{{ if and (not .Date.IsZero) .Release }} ({{ end }}{{ .Date | 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 }}
2023-10-13 20:40:11 +00:00
{{- else if (eq $section.SectionType "breaking-changes") }}
{{- template "rn-md-section-breaking-changes.tpl" $section }}
2023-10-13 20:40:11 +00:00
{{- end }}
{{- end -}}