Merge pull request #330634 from r-ryantm/auto-update/circumflex
[NixPkgs.git] / pkgs / servers / code-server / build-vscode-nogit.patch
blobec726c68d438de99f3f950ffe284177700d8f874
1 diff --git a/ci/build/build-vscode.sh b/ci/build/build-vscode.sh
2 index a72549fb..3aed1ad5 100755
3 --- a/ci/build/build-vscode.sh
4 +++ b/ci/build/build-vscode.sh
5 @@ -58,7 +58,6 @@ main() {
6 # telemetry available; telemetry can still be disabled by flag or setting).
7 # This needs to be done before building as Code will read this file and embed
8 # it into the client-side code.
9 - git checkout product.json # Reset in case the script exited early.
10 cp product.json product.original.json # Since jq has no inline edit.
11 jq --slurp '.[0] * .[1]' product.original.json <(
12 cat << EOF
13 @@ -105,7 +104,6 @@ EOF
14 # Reset so if you develop after building you will not be stuck with the wrong
15 # commit (the dev client will use `oss-dev` but the dev server will still use
16 # product.json which will have `stable-$commit`).
17 - git checkout product.json
19 popd