diff --git a/Scripts/install.sh b/Scripts/install.sh index 979b604..c94532a 100755 --- a/Scripts/install.sh +++ b/Scripts/install.sh @@ -42,7 +42,7 @@ if [ -z "$VERSION" ]; then echo "Error: version not found in the artifact bundle." >&2 exit 1 fi -if ! echo "$VERSION" | grep -qE '^[0-9]+\.[0-9]+\.[0-9]+$'; then +if ! echo "$VERSION" | grep -qE '^v?[0-9]+\.[0-9]+\.[0-9]+$'; then echo "Error: unexpected version format: $VERSION" >&2 exit 1 fi