mirror of
https://github.com/coder/code-server.git
synced 2024-11-22 19:23:16 +03:00
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
|
||||
|
||||
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 New Issue
Block a user