From 3b58d55bb63c5dd7f8117e96836cd6930e2c926e Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Fri, 22 Nov 2024 08:32:40 +1100 Subject: [PATCH] temp; update.sh bump to 11.6.2 ahead of downloads api --- update.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/update.sh b/update.sh index 331bda8a..48e93483 100755 --- a/update.sh +++ b/update.sh @@ -188,6 +188,7 @@ mariaversion() mariaVersion=$(curl -fsSL "$DOWNLOADS_REST_API/mariadb/${version%-*}" \ | jq -r 'first(.releases[] | .release_id | select(. | test("[0-9]+.[0-9]+.[0-9]+$")))') mariaVersion=${mariaVersion//\"} + if [ "$mariaVersion" = 11.6.1 ]; then mariaVersion=11.6.2; fi } all() @@ -238,8 +239,8 @@ for version in "${versions[@]}"; do fi readarray -t release <<< "$(curl -fsSL "$DOWNLOADS_REST_API/mariadb/" \ | jq -r --arg version "${version%-*}" '.major_releases[] | select(.release_id == $version) | [ .release_status ] , [ .release_support_type ] | @tsv')" - releaseStatus=${release[0]:-Unknown} - supportType=${release[1]:-Unknown} + releaseStatus=${release[0]:-Stable} + supportType=${release[1]:-Short Term Support} update_version done