From 467c611fecc210bb948b0109c729c34908c7d728 Mon Sep 17 00:00:00 2001 From: Asher Date: Thu, 20 Jan 2022 21:30:55 +0000 Subject: [PATCH] Package bin/helper directory in the right spot VS Code moves this as part of their packaging task. We will probably want to look into using theirs instead of replicating it. Fixes https://github.com/coder/code-server/issues/4721 --- ci/build/build-release.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ci/build/build-release.sh b/ci/build/build-release.sh index 1bfcdda25475..3c4acbf80d9f 100755 --- a/ci/build/build-release.sh +++ b/ci/build/build-release.sh @@ -82,6 +82,12 @@ bundle_vscode() { mkdir -p "$VSCODE_OUT_PATH/resources/" rsync "$VSCODE_SRC_PATH/resources/" "$VSCODE_OUT_PATH/resources/" + # TODO: We should look into using VS Code's packaging task (see + # gulpfile.reh.js). For now copy this directory into the right spot (for some + # reason VS Code uses a different path in production). + mkdir -p "$VSCODE_OUT_PATH/bin/helpers" + rsync "$VSCODE_SRC_PATH/resources/server/bin/helpers/" "$VSCODE_OUT_PATH/bin/helpers" + # Add the commit and date and enable telemetry. This just makes telemetry # available; telemetry can still be disabled by flag or setting. jq --slurp '.[0] * .[1]' "$VSCODE_SRC_PATH/product.json" <(