mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-06 12:19:37 -06:00
37 lines
1.1 KiB
Cheetah
37 lines
1.1 KiB
Cheetah
{{ $allVersions := . }}
|
|
{{- range $index, $changes := . }}{{ with $changes -}}
|
|
{{ if gt (len $allVersions) 1 -}}
|
|
# Changelog for [{{ .Version }}] ({{ .Date }})
|
|
|
|
The following sections list the changes for {{ .Version}}.
|
|
|
|
{{/* creating version compare links */ -}}
|
|
{{ $next := add1 $index -}}
|
|
{{ if ne (len $allVersions) $next -}}
|
|
{{ $previousVersion := (index $allVersions $next).Version -}}
|
|
{{ if eq .Version "unreleased" -}}
|
|
[{{ .Version}}]: https://github.com/owncloud/ocis/compare/v{{ $previousVersion }}...master
|
|
|
|
{{ else -}}
|
|
[{{ .Version}}]: https://github.com/owncloud/ocis/compare/v{{ $previousVersion }}...v{{ .Version}}
|
|
|
|
{{ end -}}
|
|
{{ end -}}
|
|
|
|
{{- /* last version managed by calens, end of the loop */ -}}
|
|
{{ if eq .Version "0.1.0" -}}
|
|
[{{ .Version }}]: https://github.com/owncloud/ocis/compare/94f19e653e30cdf16dcf23dbaf36c6d753d37ae9...v{{ .Version }}
|
|
|
|
{{ end -}}
|
|
{{ else -}}
|
|
# Changes in {{ .Version}}
|
|
|
|
{{ end -}}
|
|
|
|
## Summary
|
|
{{ range $entry := .Entries }}{{ with $entry }}
|
|
* {{ .Type }} - {{ .Title }}: [#{{ .PrimaryID }}]({{ .PrimaryURL }})
|
|
{{- end }}{{ end }}
|
|
|
|
{{ end }}{{ end -}}
|