diff --git a/scripts/publish-vsce.sh b/scripts/publish-vsce.sh index 46bc7606b0f..a6eeefc9c29 100755 --- a/scripts/publish-vsce.sh +++ b/scripts/publish-vsce.sh @@ -14,7 +14,7 @@ printusage() { VERSION=$1 CLI_VERSION=$2 -if [[ $VERSION == "" || $CLI_VERSION == ""]]; then +if [[ ($VERSION == "" || $CLI_VERSION == "") ]]; then printusage exit 1 elif [[ ! ($VERSION == "patch" || $VERSION == "minor" || $VERSION == "major") ]]; then diff --git a/scripts/publish/run.sh b/scripts/publish/run.sh index 581b865a74a..2523a31813a 100755 --- a/scripts/publish/run.sh +++ b/scripts/publish/run.sh @@ -34,6 +34,5 @@ gcloud --project fir-tools-builds \ builds \ submit \ --machine-type=e2-highcpu-8 \ - --substitutions=_VERSION=$VERSION \ - --substitutions=_VSCODE_VERSION=$VSCODE_VERSION \ + --substitutions=_VERSION=$VERSION,_VSCODE_VERSION=$VSCODE_VERSION \ . \ No newline at end of file