ci: exclude v4.3.13 for centos8

This commit is contained in:
Zaiming (Stone) Shi 2022-09-14 20:36:15 +02:00
parent 2fbb79f84f
commit ab21801449
1 changed files with 6 additions and 0 deletions

View File

@ -58,7 +58,13 @@ case "${EDITION}" in
;; ;;
esac esac
SYSTEM="${SYSTEM:-$(./scripts/get-distro.sh)}"
while read -r git_tag; do 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 # shellcheck disable=SC2207
semver=($(parse_semver "$git_tag")) semver=($(parse_semver "$git_tag"))
if [ "${#semver[@]}" -eq 3 ] && [ "${semver[2]}" -le "${CUR_SEMVER[2]}" ]; then if [ "${#semver[@]}" -eq 3 ] && [ "${semver[2]}" -le "${CUR_SEMVER[2]}" ]; then