mirror of https://github.com/coder/code-server.git
chore: add VERSION check in build-vscode.sh (#5823)
This commit is contained in:
parent
2cbb1135e1
commit
df49838739
|
@ -42,6 +42,12 @@ main() {
|
||||||
|
|
||||||
pushd lib/vscode
|
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
|
# 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
|
# since Code tries to get the commit from the `.git` directory which will fail
|
||||||
# as it is a submodule.
|
# as it is a submodule.
|
||||||
|
|
Loading…
Reference in New Issue