prepare changelog, add beta to template, bump version

This commit is contained in:
Michael Barz
2022-05-09 18:18:03 +02:00
parent 9ef68fdcfd
commit e7a3d0c535
28 changed files with 11 additions and 6 deletions
+10 -5
View File
@@ -1,19 +1,24 @@
{{ $allVersions := . }}
{{- range $index, $changes := . }}{{ with $changes -}}
{{ $version := .Version -}}
{{/* ocis beta program */ -}}
{{ if eq .Version "2.0.0" -}}
{{ $version = (printf "%v-%v" $version "beta1") -}}
{{ end -}}
{{ if gt (len $allVersions) 1 -}}
# Changelog for [{{ .Version }}] ({{ .Date }})
# Changelog for [{{ $version }}] ({{ .Date }})
The following sections list the changes for {{ .Version }}.
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
[{{ $version }}]: https://github.com/owncloud/ocis/compare/v{{ $previousVersion }}...master
{{ else -}}
[{{ .Version }}]: https://github.com/owncloud/ocis/compare/v{{ $previousVersion }}...v{{ .Version }}
[{{ $version }}]: https://github.com/owncloud/ocis/compare/v{{ $previousVersion }}...v{{ $version }}
{{ end -}}
{{ end -}}
@@ -24,7 +29,7 @@ The following sections list the changes for {{ .Version }}.
{{ end -}}
{{ else -}}
# Changes in {{ .Version }}
# Changes in {{ $version }}
{{ end -}}
+1 -1
View File
@@ -2,7 +2,7 @@
sonar.projectKey=owncloud_ocis
sonar.organization=owncloud-1
sonar.projectName=ocis
sonar.projectVersion=1.20.0
sonar.projectVersion=2.0.0-beta1
sonar.host.url=https://sonarcloud.io
# =====================================================