From 5ac520b343d15c2ed7a12aecdc6b410d00482c47 Mon Sep 17 00:00:00 2001 From: Evgeniy Antonyuk Date: Wed, 25 Dec 2024 02:15:38 +0300 Subject: [PATCH] Fix getting tags for develop environment --- install/OneClickInstall/install-Docker.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/OneClickInstall/install-Docker.sh b/install/OneClickInstall/install-Docker.sh index 33cd1fa1e32..bdef67d497d 100644 --- a/install/OneClickInstall/install-Docker.sh +++ b/install/OneClickInstall/install-Docker.sh @@ -1092,6 +1092,7 @@ get_available_version () { VERSION_REGEX='^[0-9]+\.[0-9]+(\.[0-9]+){0,2}$' [ ${#TAGS_RESP[@]} -eq 1 ] && LATEST_TAG="${TAGS_RESP[0]}" || LATEST_TAG=$(printf "%s\n" "${TAGS_RESP[@]}" | grep -E "$VERSION_REGEX" | sort -V | tail -n 1) + LATEST_TAG=${STATUS:+${LATEST_TAG:-$(printf "%s\n" "${TAGS_RESP[@]}" | sort -V | tail -n 1)}} #Fix for 4testing develop tags if [ ! -z "${LATEST_TAG}" ]; then echo "${LATEST_TAG}" | sed "s/\"//g"