File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ main() {
1717 # telemetry available; telemetry can still be disabled by flag or setting).
1818 # This needs to be done before building as Code will read this file and embed
1919 # it into the client-side code.
20- cp product.json product.original.json
20+ git checkout product.json # Reset in case the script exited early.
21+ cp product.json product.original.json # Since jq has no inline edit.
2122 jq --slurp ' .[0] * .[1]' product.original.json <(
2223 cat << EOF
2324 {
@@ -52,10 +53,14 @@ main() {
5253 }
5354EOF
5455 ) > product.json
55- rm product.original.json
5656
5757 # Any platform works since we have our own packaging step (for now).
5858 yarn gulp " vscode-reh-web-linux-x64${MINIFY: +-min} "
59+
60+ # Reset so if you develop after building you will not be stuck with the wrong
61+ # commit (the dev client will use `oss-dev` but the dev server will still use
62+ # product.json which will have `stable-$commit`).
63+ git checkout product.json
5964}
6065
6166main " $@ "
You can’t perform that action at this time.
0 commit comments