Skip to content

Commit

Permalink
Do the curl in a seperate line and check if the string contains items
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Hugo Prins committed Jan 10, 2024
1 parent ebed6cf commit f7ba494
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
gawk
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' | awk '{print "kubernetes-v"$1}')
[[ -z "${KBS_VERS}" ]] && exit 1
KBS_VERS_ARRAY=(${KBS_VERS})
images=(
Expand Down

0 comments on commit f7ba494

Please sign in to comment.