From 1edb12a0fa00aa22cfafb099c40d0ba14108fba3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Y=C3=BCce=20Tekol?= Date: Wed, 26 Jun 2024 11:33:47 +0300 Subject: [PATCH] updated install script (#445) --- extras/unix/install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/extras/unix/install.sh b/extras/unix/install.sh index 6e491896..27b644df 100644 --- a/extras/unix/install.sh +++ b/extras/unix/install.sh @@ -3,6 +3,8 @@ # Hazelcast CLC Install script # (c) 2023 Hazelcast, Inc. +DEFAULT_VERSION=v5.4.0 + set -eu -o pipefail check_ok () { @@ -295,7 +297,8 @@ detect_last_release () { set -e fi if [[ "$v" == "" ]]; then - bye "could not determine the latest version" + v=$DEFAULT_VERSION + echo_note "Could not determine the latest version, downloading version $v" fi state_download_version="$v" }