From 9dcb1d7da0bbd3372dceaf0f5b458675f322ff87 Mon Sep 17 00:00:00 2001 From: Asher Date: Fri, 27 Mar 2026 17:49:42 -0800 Subject: [PATCH] Set version in release package.json Before this was handled by an extra CI step, now we can just do it in the release script. Pulling it from the product.json since we already set it there, rather than ask for it again via env var. --- ci/build/build-release.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/build/build-release.sh b/ci/build/build-release.sh index 1c510e8a7..02e4ff396 100755 --- a/ci/build/build-release.sh +++ b/ci/build/build-release.sh @@ -75,6 +75,7 @@ bundle_code_server() { jq --slurp '(.[0] | del(.scripts,.jest,.devDependencies)) * .[1]' package.json <( cat << EOF { + "version": "$(jq -r .codeServerVersion "./lib/vscode-reh-web-$VSCODE_TARGET/product.json")", "commit": "$(git rev-parse HEAD)", "scripts": { "postinstall": "sh ./postinstall.sh"