Skip to content

Commit

Permalink
Fix getting tags for develop environment
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeniy-antonyuk committed Dec 24, 2024
1 parent d64bfbf commit 5ac520b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install/OneClickInstall/install-Docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5ac520b

Please sign in to comment.