Skip to content

Commit df49838

Browse files
authored
chore: add VERSION check in build-vscode.sh (#5823)
1 parent 2cbb113 commit df49838

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ci/build/build-vscode.sh

+6
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ main() {
4242

4343
pushd lib/vscode
4444

45+
if [[ ! ${VERSION-} ]]; then
46+
echo "VERSION not set. Please set before running this script:"
47+
echo "VERSION='0.0.0' yarn build:vscode"
48+
exit 1
49+
fi
50+
4551
# Set the commit Code will embed into the product.json. We need to do this
4652
# since Code tries to get the commit from the `.git` directory which will fail
4753
# as it is a submodule.

0 commit comments

Comments
 (0)