Skip to content

Commit

Permalink
chore: add VERSION check in build-vscode.sh (#5823)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsjoeio authored Dec 1, 2022
1 parent 2cbb113 commit df49838
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ci/build/build-vscode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit df49838

Please sign in to comment.