Compare commits

..

2 Commits

Author SHA1 Message Date
cdrci
cb22f74650 Update Code to 1.128.0 (#7889) 2026-07-10 12:08:44 -08:00
Asher
d103d5057a Fix update script using old Node version
It needs to parse the version *after* the VS Code update, otherwise it
is just pulling whatever the previous version was.

That means we cannot use it in the step title without some refactoring;
opted to just omit it for now.
2026-07-09 22:58:44 -08:00
6 changed files with 16 additions and 11 deletions

View File

@@ -1 +1 @@
24.15.0
24.17.0

View File

@@ -22,6 +22,12 @@ Code v99.99.999
## Unreleased
Code v1.128.0
### Changed
- Update to Code 1.128.0
## [4.127.0](https://github.com/coder/code-server/releases/tag/v4.127.0) - 2026-07-02
Code v1.127.0

View File

@@ -42,6 +42,8 @@ function refresh_patches() {
function update_node() {
local node_version
node_version=$(cat .node-version)
local target_node_version
target_node_version=$(grep target lib/vscode/remote/.npmrc | awk -F= '{print $2}' | tr -d '"')
if [[ $node_version == "$target_node_version" ]] ; then
echo "Already set to $target_node_version"
else
@@ -116,9 +118,6 @@ function main() {
source ./ci/lib.sh
local target_node_version
target_node_version=$(grep target lib/vscode/remote/.npmrc | awk -F= '{print $2}' | tr -d '"')
declare -a steps
# If version is not set, assume we are already at the target version and the
@@ -141,7 +140,7 @@ function main() {
fi
steps+=(
"Set Node version to $target_node_version" "update_node"
"Update Node version" "update_node"
"Update CSP webview hash" "update_csp"
"Add changelog note" "add_changelog"
)

8
package-lock.json generated
View File

@@ -61,7 +61,7 @@
"prettier": "3.8.3",
"prettier-plugin-sh": "^0.18.0",
"ts-node": "^10.9.1",
"typescript": "^6.0.3",
"typescript": "^5.6.2",
"typescript-eslint": "^8.8.0"
},
"engines": {
@@ -6219,9 +6219,9 @@
}
},
"node_modules/typescript": {
"version": "6.0.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
"integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
"devOptional": true,
"license": "Apache-2.0",
"bin": {

View File

@@ -62,7 +62,7 @@
"prettier": "3.8.3",
"prettier-plugin-sh": "^0.18.0",
"ts-node": "^10.9.1",
"typescript": "^6.0.3",
"typescript": "^5.6.2",
"typescript-eslint": "^8.8.0"
},
"dependencies": {