client_golang/changelog-template.tpl

21 lines
462 B
Smarty

{{- $CurrentRevision := .CurrentRevision -}}
{{- $PreviousRevision := .PreviousRevision -}}
{{with .NotesWithActionRequired -}}
## Urgent Upgrade Notes
### (No, really, you MUST read this before you upgrade)
{{range .}}{{println "-" .}} {{end}}
{{end}}
{{- if .Notes -}}
{{- range $notes := .Notes -}}
{{range $note := .NoteEntries}}
{{- if ne $notes.Kind "Uncategorized" }}
* [{{- $notes.Kind }}] {{$note}}
{{- end }}
{{- end -}}
{{- end -}}
{{- end -}}