Skip to content

Commit

Permalink
Merge pull request #62 from flatcar/tormath1/kubernetes
Browse files Browse the repository at this point in the history
release: handle new major release of kubernetes
  • Loading branch information
tormath1 authored Apr 18, 2024
2 parents 313b804 + a301cce commit 3368233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ echo "================================================="
KBS_VERS=$(curl -fsSL --retry-delay 1 --retry 60 --retry-connrefused \
--retry-max-time 60 --connect-timeout 20 \
https://raw.githubusercontent.com/kubernetes/website/main/data/releases/schedule.yaml \
| yq -r '.schedules[].previousPatches[0].release' \
| yq -r '.schedules[] | .previousPatches[0] // (.release = .release + ".0") | .release' \
| awk '{print "kubernetes-v"$1}')
if [[ -z "${KBS_VERS}" ]] ; then
echo "Failed fetching Kubernetes versions"
Expand Down

0 comments on commit 3368233

Please sign in to comment.