From ab21801449853d35ebd0e58bcaa6e255aab2a677 Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Wed, 14 Sep 2022 20:36:15 +0200 Subject: [PATCH] ci: exclude v4.3.13 for centos8 --- scripts/relup-base-vsns.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/relup-base-vsns.sh b/scripts/relup-base-vsns.sh index 8f391b01b..8e1ff4b78 100755 --- a/scripts/relup-base-vsns.sh +++ b/scripts/relup-base-vsns.sh @@ -58,7 +58,13 @@ case "${EDITION}" in ;; esac +SYSTEM="${SYSTEM:-$(./scripts/get-distro.sh)}" + while read -r git_tag; do + if [ "$SYSTEM" = 'centos8' ] && [ "$git_tag" = 'v4.3.13' ]; then + # This version for centos8 was broken and deleted from archive + continue + fi # shellcheck disable=SC2207 semver=($(parse_semver "$git_tag")) if [ "${#semver[@]}" -eq 3 ] && [ "${semver[2]}" -le "${CUR_SEMVER[2]}" ]; then