Skip to content

Commit 97ed11a

Browse files
committed
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.
1 parent 04a44e6 commit 97ed11a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ci/build/build-release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ bundle_code_server() {
7575
jq --slurp '(.[0] | del(.scripts,.jest,.devDependencies)) * .[1]' package.json <(
7676
cat << EOF
7777
{
78+
"version": "$(jq -r .codeServerVersion "./lib/vscode-reh-web-$VSCODE_TARGET/product.json")",
7879
"commit": "$(git rev-parse HEAD)",
7980
"scripts": {
8081
"postinstall": "sh ./postinstall.sh"

0 commit comments

Comments
 (0)