mirror of
https://github.com/cdr/code-server.git
synced 2025-12-06 16:34:35 +01:00
chore: add VERSION check in build-vscode.sh (#5823)
This commit is contained in:
parent
2cbb1135e1
commit
df49838739
1 changed files with 6 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue