Skip to content

Commit

Permalink
temp; update.sh bump to 11.6.2 ahead of downloads api
Browse files Browse the repository at this point in the history
  • Loading branch information
grooverdan committed Nov 21, 2024
1 parent 292b81d commit ed58e85
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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

0 comments on commit ed58e85

Please sign in to comment.