From 01a9ab332e58f09134f96062927f5bfd83ee5962 Mon Sep 17 00:00:00 2001 From: Asher Date: Wed, 7 Aug 2019 15:13:39 -0500 Subject: [PATCH] Set commit based on code-server instead of VS Code This ensures it'll be different for each build, otherwise it would also be the same as long as the VS Code version is the same. --- scripts/tasks.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/tasks.bash b/scripts/tasks.bash index 18e6f6b7..fbd3f2ff 100755 --- a/scripts/tasks.bash +++ b/scripts/tasks.bash @@ -57,6 +57,8 @@ function prepend-loader() { function build-code-server() { copy-server local min="" + export BUILD_SOURCEVERSION + BUILD_SOURCEVERSION=$(node -p "require('${sourcePath}/build/lib/git.js').getVersion('${rootPath}')") if [[ -n "${minify}" ]] ; then min="-min" yarn gulp minify-vscode --max-old-space-size=32384