Update VS Code version for CI
This commit is contained in:
parent
d574012871
commit
c8fc54bfb1
@ -21,7 +21,7 @@ function main() {
|
|||||||
|
|
||||||
# Get the version information. If a specific version wasn't set, generate it
|
# Get the version information. If a specific version wasn't set, generate it
|
||||||
# from the tag and VS Code version.
|
# from the tag and VS Code version.
|
||||||
local vscode_version=${VSCODE_VERSION:-1.41.1}
|
local vscode_version=${VSCODE_VERSION:-1.42.0}
|
||||||
local code_server_version=${VERSION:-${TRAVIS_TAG:-${DRONE_TAG:-daily}}}
|
local code_server_version=${VERSION:-${TRAVIS_TAG:-${DRONE_TAG:-daily}}}
|
||||||
|
|
||||||
# Remove everything that isn't the current VS Code source for caching
|
# Remove everything that isn't the current VS Code source for caching
|
||||||
|
@ -11,7 +11,7 @@ main() {
|
|||||||
version=$(./binaries/code-server* --version | head -1)
|
version=$(./binaries/code-server* --version | head -1)
|
||||||
echo "Got '$version' for the version"
|
echo "Got '$version' for the version"
|
||||||
case $version in
|
case $version in
|
||||||
*-vsc1.41.1) exit 0 ;;
|
*-vsc1.42.0) exit 0 ;;
|
||||||
*) exit 1 ;;
|
*) exit 1 ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user