From 69269cecb2c347b73f47d7c09528dcd68fa07643 Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Fri, 2 Aug 2019 10:40:56 +0200 Subject: [PATCH] fix web build version --- build/azure-pipelines/web/publish.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/azure-pipelines/web/publish.sh b/build/azure-pipelines/web/publish.sh index 9d662fcfe8b..2c112362a25 100755 --- a/build/azure-pipelines/web/publish.sh +++ b/build/azure-pipelines/web/publish.sh @@ -7,6 +7,9 @@ ROOT="$REPO/.." WEB_BUILD_NAME="vscode-web" WEB_TARBALL_FILENAME="vscode-web.tar.gz" WEB_TARBALL_PATH="$ROOT/$WEB_TARBALL_FILENAME" +BUILD="$ROOT/$WEB_BUILD_NAME" +PACKAGEJSON="$BUILD/package.json" +VERSION=$(node -p "require(\"$PACKAGEJSON\").version") rm -rf $ROOT/vscode-web.tar.*