From 575c567a2da6fb1274d273b3b9e2cfb9932da75b Mon Sep 17 00:00:00 2001 From: Nik Ho Date: Tue, 9 Jul 2024 17:45:33 +1200 Subject: [PATCH] fix syntax error --- packages/game-bridge/scripts/updateSdkVersion.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/game-bridge/scripts/updateSdkVersion.sh b/packages/game-bridge/scripts/updateSdkVersion.sh index 6a45a33be1..30f81d01af 100755 --- a/packages/game-bridge/scripts/updateSdkVersion.sh +++ b/packages/game-bridge/scripts/updateSdkVersion.sh @@ -36,7 +36,7 @@ fi # example valid version: 1.2.3 # or: 1.2.3-alpha # or: 1.2.3-alpha.1 -if [[ ! $TS_SDK_TAG =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9]+)?$ ]]; +if [[ ! $TS_SDK_TAG =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9]+)?$ ]]; then echo "Current tag is not a valid version. Exiting..." exit 1 fi