client_golang/changelog-template.tpl

21 lines
471 B
Smarty
Raw Normal View History

{{- $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 }}