Skip to content

Commit 709382a

Browse files
chore: Update install.sh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent bae2f6c commit 709382a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

install.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,9 @@ checkHttpRequestCLI
194194
if [ -z "$1" ]; then
195195
TARGET_VERSION="latest"
196196
else
197-
if [[ "$1" =~ ^v.* ]]; then
197+
if [ "$1" = "latest" ]; then
198+
TARGET_VERSION="latest"
199+
elif [[ "$1" =~ ^v.* ]]; then
198200
TARGET_VERSION="$1"
199201
else
200202
TARGET_VERSION="v$1"

0 commit comments

Comments
 (0)