2021-05-06 23:46:08 +00:00
{{ range $data := .Site.Data.releases.schedule.schedules }}
2024-04-19 08:43:45 +00:00
{{- $dataVersion := printf "%s" $data.release -}}
{{- $dataIdVersion := replace ( printf "%s" $data.release ) "." "-" | anchorize -}}
2021-10-03 20:30:09 +00:00
< h3 id = "release-v{{ $dataIdVersion }}" > {{ $dataVersion }}< / h3 >
2021-05-06 23:46:08 +00:00
2021-10-03 20:30:09 +00:00
< div class = "release-details" >
2021-05-06 23:46:08 +00:00
{{ if not $data.previousPatches }}
2021-12-14 17:36:09 +00:00
<!-- initial minor release -->
2021-10-03 20:30:09 +00:00
< div >
2021-12-14 17:39:21 +00:00
< b class = "release-inline-heading" > {{ T "latest_release" }}< / b > < span class = "release-inline-value" > {{ printf "%s.0" $dataVersion }}{{ if isset $data "releaseDate" }} {{ T "release_date_before" }}< time datetime = "{{ time.Format " 2006-01-02 " $ data . releaseDate } } " > {{ time.Format ( T "release_date_format") $data.releaseDate }}< / time > {{ T "release_date_after" }}{{- end -}}< / span >
2021-10-03 20:30:09 +00:00
< / div >
< div >
2021-12-14 17:39:21 +00:00
< b class = "release-inline-heading" > {{ T "end_of_life" }}< / b > < span class = "release-eoldate release-inline-value" > < time datetime = "{{ time.Format " 2006-01-02 " $ data . endOfLifeDate } } " > {{ time.Format ( T "release_date_format") $data.endOfLifeDate }}< / time > < / span >
2021-10-03 20:30:09 +00:00
< / div >
< div >
< b class = "release-inline-heading" > {{ T "previous_patches" }}< / b > < span class = "notapplicable release-inline-value" > {{ T "not_applicable" }}< / span >
< / div >
2021-12-14 17:36:09 +00:00
{{- else -}}
2021-10-03 20:30:09 +00:00
< div >
2021-12-14 17:39:21 +00:00
< b class = "release-inline-heading" > {{ T "latest_release" }}< / b > < span class = "release-inline-value" > {{ index $data.previousPatches 0 "release" }} {{ T "release_date_before" }}< time datetime = "{{ time.Format " 2006-01-02 " ( index $ data . previousPatches 0 " targetDate " ) } } " > {{ time.Format ( T "release_date_format") ( index $data.previousPatches 0 "targetDate" ) }}< / time > {{ T "release_date_after" }}< / span >
2021-10-03 20:30:09 +00:00
< / div >
< div >
2021-12-14 17:39:21 +00:00
< b class = "release-inline-heading" > {{ T "end_of_life" }}< / b > < span class = "release-eoldate release-inline-value" > < time datetime = "{{ time.Format " 2006-01-02 " $ data . endOfLifeDate } } " > {{ time.Format ( T "release_date_format") $data.endOfLifeDate }}< / time > < / span >
2021-10-03 20:30:09 +00:00
< / div >
< div >
2021-05-06 23:46:08 +00:00
< b > {{ T "previous_patches" }}< / b >
2021-10-03 20:30:09 +00:00
< span class = "release-prevpatches release-inline-value" >
{{- range $key, $value := sort $data.previousPatches ".targetDate" "asc" -}}
{{ if $key }}{{ T "inline_list_separator" }}{{ end }}
< a href = "https://git.k8s.io/kubernetes/CHANGELOG/CHANGELOG-{{ $dataVersion }}.md#v{{ replace .release `.` `` }}" > {{ printf "%s" .release }}< / a >
{{- end -}}
< / span >
< / div >
2021-05-06 23:46:08 +00:00
2021-12-14 17:36:09 +00:00
{{- end -}}
2022-08-30 02:41:44 +00:00
< p >
{{ T "release_full_details_initial_text" }} {{ $dataVersion }}
< a href = "/releases/patch-releases/#{{ replace $dataVersion `.` `-` }}" > {{ T "release_schedule" }}< / a > {{ T "conjunction_1" }}
< a hreflang = "en" href = "https://git.k8s.io/kubernetes/CHANGELOG/CHANGELOG-{{ $dataVersion }}.md" > {{ T "release_changelog" }}< / a >
2021-10-03 20:30:09 +00:00
< / p >
2021-05-06 23:46:08 +00:00
2021-10-03 20:30:09 +00:00
< / div >
2021-05-06 23:46:08 +00:00
{{ end }}