@@ -28,13 +28,14 @@ main() {
28
28
}
29
29
30
30
bundle_code_server () {
31
- rsync out dist " $RELEASE_PATH "
31
+ rsync out " $RELEASE_PATH "
32
32
33
33
# For source maps and images.
34
34
mkdir -p " $RELEASE_PATH /src/browser"
35
35
rsync src/browser/media/ " $RELEASE_PATH /src/browser/media"
36
36
mkdir -p " $RELEASE_PATH /src/browser/pages"
37
37
rsync src/browser/pages/* .html " $RELEASE_PATH /src/browser/pages"
38
+ rsync src/browser/pages/* .css " $RELEASE_PATH /src/browser/pages"
38
39
rsync src/browser/robots.txt " $RELEASE_PATH /src/browser"
39
40
40
41
# Add typings for plugins
@@ -43,15 +44,15 @@ bundle_code_server() {
43
44
44
45
# Adds the commit to package.json
45
46
jq --slurp ' .[0] * .[1]' package.json <(
46
- cat << EOF
47
+ cat << EOF
47
48
{
48
49
"commit": "$( git rev-parse HEAD) ",
49
50
"scripts": {
50
51
"postinstall": "./postinstall.sh"
51
52
}
52
53
}
53
54
EOF
54
- ) > " $RELEASE_PATH /package.json"
55
+ ) > " $RELEASE_PATH /package.json"
55
56
rsync yarn.lock " $RELEASE_PATH "
56
57
rsync ci/build/npm-postinstall.sh " $RELEASE_PATH /postinstall.sh"
57
58
@@ -83,18 +84,18 @@ bundle_vscode() {
83
84
84
85
# Adds the commit and date to product.json
85
86
jq --slurp ' .[0] * .[1]' " $VSCODE_SRC_PATH /product.json" <(
86
- cat << EOF
87
+ cat << EOF
87
88
{
88
89
"commit": "$( git rev-parse HEAD) ",
89
90
"date": $( jq -n ' now | todate' )
90
91
}
91
92
EOF
92
- ) > " $VSCODE_OUT_PATH /product.json"
93
+ ) > " $VSCODE_OUT_PATH /product.json"
93
94
94
95
# We remove the scripts field so that later on we can run
95
96
# yarn to fetch node_modules if necessary without build scripts running.
96
97
# We cannot use --no-scripts because we still want dependent package scripts to run.
97
- jq ' del(.scripts)' < " $VSCODE_SRC_PATH /package.json" > " $VSCODE_OUT_PATH /package.json"
98
+ jq ' del(.scripts)' < " $VSCODE_SRC_PATH /package.json" > " $VSCODE_OUT_PATH /package.json"
98
99
99
100
pushd " $VSCODE_OUT_PATH "
100
101
symlink_asar
0 commit comments