Skip to content

Commit 1edb12a

Browse files
authored
updated install script (#445)
1 parent fa962e0 commit 1edb12a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

extras/unix/install.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# Hazelcast CLC Install script
44
# (c) 2023 Hazelcast, Inc.
55

6+
DEFAULT_VERSION=v5.4.0
7+
68
set -eu -o pipefail
79

810
check_ok () {
@@ -295,7 +297,8 @@ detect_last_release () {
295297
set -e
296298
fi
297299
if [[ "$v" == "" ]]; then
298-
bye "could not determine the latest version"
300+
v=$DEFAULT_VERSION
301+
echo_note "Could not determine the latest version, downloading version $v"
299302
fi
300303
state_download_version="$v"
301304
}

0 commit comments

Comments
 (0)