-
Notifications
You must be signed in to change notification settings - Fork 1
/
versions.json
27 lines (27 loc) · 1.12 KB
/
versions.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"kubectl": {
"versions": [
"1.32.0",
"1.31.4",
"1.30.8",
"1.29.12",
"1.28.15",
"1.27.16",
"1.26.15",
"1.25.16",
"1.24.17",
"1.23.17",
"1.22.17",
"1.21.14",
"1.20.15",
"1.19.16",
"1.18.20",
"1.17.17",
"1.16.15",
"1.15.12",
"1.14.10"
],
"versionsChangeScope": "minor",
"versionsNewScript": "Invoke-WebRequest https://api.github.com/repos/kubernetes/kubernetes/git/refs/tags | ConvertFrom-Json | % { $_.ref -replace 'refs/tags/v', '' } | ? { $_ -match '^\\d+\\.\\d+\\.\\d+$' } | Sort-Object { [version]$_ } -Descending | ? { [version]$_ -ge [version]'1.14' } # Alternative, but not updated promptly despite release on github.com/kubernetes/kubernetes: $y = (Invoke-WebRequest https://raw.githubusercontent.com/kubernetes/website/main/data/releases/schedule.yaml).Content | ConvertFrom-Yaml; $y.schedules | % { $_.next.release }; $y = (Invoke-WebRequest https://raw.githubusercontent.com/kubernetes/website/main/data/releases/eol.yaml).Content | ConvertFrom-Yaml;Z$y.branches | % { $_.finalPatchRelease }"
}
}