Archived
1
0

Fix version generated from Git tag

This commit is contained in:
Asher 2020-01-16 17:59:11 -06:00
parent ae35673489
commit 7e7923706f
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -9,7 +9,7 @@ function main() {
# Get the version information. If a specific version wasn't set, generate it
# from the tag and VS Code version.
local vscode_version=${VSCODE_VERSION:-1.41.1}
local code_server_version=${VERSION:-2.${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
# (otherwise the cache will contain old versions).