Archived
1
0

chore: add VERSION check in build-vscode.sh (#5823)

This commit is contained in:
Joe Previte 2022-12-01 09:51:07 -07:00 committed by GitHub
parent 2cbb1135e1
commit df49838739
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,6 +42,12 @@ main() {
pushd lib/vscode
if [[ ! ${VERSION-} ]]; then
echo "VERSION not set. Please set before running this script:"
echo "VERSION='0.0.0' yarn build:vscode"
exit 1
fi
# Set the commit Code will embed into the product.json. We need to do this
# since Code tries to get the commit from the `.git` directory which will fail
# as it is a submodule.