Don't look at head for upgrade channel (#13130)

Signed-off-by: Derek Nola <derek.nola@suse.com>
pull/13139/head
Derek Nola 2025-10-31 11:54:40 -07:00 committed by GitHub
parent 2459bf7c84
commit b9e90d3e51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ steps:
else else
UPGRADE_CHANNEL=$(echo $DRONE_BRANCH | sed 's/release-/v/') UPGRADE_CHANNEL=$(echo $DRONE_BRANCH | sed 's/release-/v/')
# Check if the UPGRADE_CHANNEL exists, in the case of new minor releases it won't # Check if the UPGRADE_CHANNEL exists, in the case of new minor releases it won't
if ! curl --head --silent --fail https://update.k3s.io/v1-release/channels/$UPGRADE_CHANNEL; then if ! curl --silent --fail https://update.k3s.io/v1-release/channels/$UPGRADE_CHANNEL; then
UPGRADE_CHANNEL="latest" UPGRADE_CHANNEL="latest"
fi fi
fi fi