Skip to content

Commit 467c611

Browse files
committed
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 coder#4721
1 parent 6e04501 commit 467c611

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ci/build/build-release.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,12 @@ bundle_vscode() {
8282
mkdir -p "$VSCODE_OUT_PATH/resources/"
8383
rsync "$VSCODE_SRC_PATH/resources/" "$VSCODE_OUT_PATH/resources/"
8484

85+
# TODO: We should look into using VS Code's packaging task (see
86+
# gulpfile.reh.js). For now copy this directory into the right spot (for some
87+
# reason VS Code uses a different path in production).
88+
mkdir -p "$VSCODE_OUT_PATH/bin/helpers"
89+
rsync "$VSCODE_SRC_PATH/resources/server/bin/helpers/" "$VSCODE_OUT_PATH/bin/helpers"
90+
8591
# Add the commit and date and enable telemetry. This just makes telemetry
8692
# available; telemetry can still be disabled by flag or setting.
8793
jq --slurp '.[0] * .[1]' "$VSCODE_SRC_PATH/product.json" <(

0 commit comments

Comments
 (0)