Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1--- ./ci/build/build-vscode.sh 2+++ ./ci/build/build-vscode.sh 3@@ -45,14 +45,12 @@ 4 # Set the commit Code will embed into the product.json. We need to do this 5 # since Code tries to get the commit from the `.git` directory which will fail 6 # as it is a submodule. 7- export VSCODE_DISTRO_COMMIT 8- VSCODE_DISTRO_COMMIT=$(git rev-parse HEAD) 9+ export VSCODE_DISTRO_COMMIT=none 10 11 # Add the date, our name, links, and enable telemetry (this just makes 12 # telemetry available; telemetry can still be disabled by flag or setting). 13 # This needs to be done before building as Code will read this file and embed 14 # it into the client-side code. 15- git checkout product.json # Reset in case the script exited early. 16 cp product.json product.original.json # Since jq has no inline edit. 17 jq --slurp '.[0] * .[1]' product.original.json <( 18 cat << EOF 19@@ -99,7 +97,6 @@ 20 # Reset so if you develop after building you will not be stuck with the wrong 21 # commit (the dev client will use `oss-dev` but the dev server will still use 22 # product.json which will have `stable-$commit`). 23- git checkout product.json 24 25 popd 26