diff --git a/README.md b/README.md index 2b20bea13..a4e1e6859 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # code-server · [!["GitHub Discussions"](https://img.shields.io/badge/%20GitHub-%20Discussions-gray.svg?longCache=true&logo=github&colorB=purple)](https://github.com/cdr/code-server/discussions) [!["Join us on Slack"](https://img.shields.io/badge/join-us%20on%20slack-gray.svg?longCache=true&logo=slack&colorB=brightgreen)](https://cdr.co/join-community) [![Twitter Follow](https://img.shields.io/twitter/follow/CoderHQ?label=%40CoderHQ&style=social)](https://twitter.com/coderhq) -![Lines](https://img.shields.io/badge/Coverage-40.7%25-green.svg) +![Lines](https://img.shields.io/badge/Coverage-50.08%25-green.svg) Run [VS Code](https://github.com/Microsoft/vscode) on any machine anywhere and access it in the browser. diff --git a/ci/README.md b/ci/README.md index bd38e06d1..c063b88c0 100644 --- a/ci/README.md +++ b/ci/README.md @@ -28,6 +28,7 @@ Make sure you have `$GITHUB_TOKEN` set and [hub](https://github.com/github/hub) 3. Run `yarn release:github-draft` to create a GitHub draft release from the template with the updated version. 1. Summarize the major changes in the release notes and link to the relevant issues. + 2. Change the @ to target the version branch. Example: `v3.9.0 @ Target: v3.9.0` 4. Wait for the artifacts in step 2 to build. 5. Run `yarn release:github-assets` to download the `release-packages` artifact. - It will upload them to the draft release. @@ -49,8 +50,9 @@ Make sure you have `$GITHUB_TOKEN` set and [hub](https://github.com/github/hub) Currently, we run a command to manually generate the code coverage shield. Follow these steps: -1. Run `yarn badges` -2. Go into the README and change the color from `red` to `green` in this line: +1. Run `yarn test` and make sure all the tests are passing +2. Run `yarn badges` +3. Go into the README and change the color from `red` to `green` in this line: ``` ![Lines](https://img.shields.io/badge/Coverage-46.71%25-red.svg) diff --git a/ci/build/release-github-draft.sh b/ci/build/release-github-draft.sh index 835b7b431..e68ec515f 100755 --- a/ci/build/release-github-draft.sh +++ b/ci/build/release-github-draft.sh @@ -26,6 +26,13 @@ installations. ## Bug Fixes - ⭐ Summarize bug fixes here with references to issues +## Documentation + - ⭐ Summarize doc changes here with references to issues + +## Development + - ⭐ Summarize development/testing changes here with references to issues + + Cheers! 🍻 EOF } diff --git a/ci/helm-chart/Chart.yaml b/ci/helm-chart/Chart.yaml index bb9f408ad..af389f7af 100644 --- a/ci/helm-chart/Chart.yaml +++ b/ci/helm-chart/Chart.yaml @@ -20,4 +20,4 @@ version: 1.0.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. -appVersion: 3.8.1 +appVersion: 3.9.0 diff --git a/ci/helm-chart/README.md b/ci/helm-chart/README.md index 03cd71ccb..1c087606d 100644 --- a/ci/helm-chart/README.md +++ b/ci/helm-chart/README.md @@ -1,6 +1,6 @@ # code-server -![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.8.1](https://img.shields.io/badge/AppVersion-3.8.1-informational?style=flat-square) +![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.9.0](https://img.shields.io/badge/AppVersion-3.9.0-informational?style=flat-square) [code-server](https://github.com/cdr/code-server) code-server is VS Code running on a remote server, accessible through the browser. @@ -72,7 +72,7 @@ and their default values. | hostnameOverride | string | `""` | | | image.pullPolicy | string | `"Always"` | | | image.repository | string | `"codercom/code-server"` | | -| image.tag | string | `"3.8.1"` | | +| image.tag | string | `"3.9.0"` | | | imagePullSecrets | list | `[]` | | | ingress.enabled | bool | `false` | | | nameOverride | string | `""` | | diff --git a/ci/helm-chart/values.yaml b/ci/helm-chart/values.yaml index b240264cc..ffb2f4fd7 100644 --- a/ci/helm-chart/values.yaml +++ b/ci/helm-chart/values.yaml @@ -6,7 +6,7 @@ replicaCount: 1 image: repository: codercom/code-server - tag: '3.8.1' + tag: '3.9.0' pullPolicy: Always imagePullSecrets: [] diff --git a/docs/install.md b/docs/install.md index f69d24c9a..5f720c3cd 100644 --- a/docs/install.md +++ b/docs/install.md @@ -87,8 +87,8 @@ commands presented in the rest of this document. ## Debian, Ubuntu ```bash -curl -fOL https://github.com/cdr/code-server/releases/download/v3.8.1/code-server_3.8.1_amd64.deb -sudo dpkg -i code-server_3.8.1_amd64.deb +curl -fOL https://github.com/cdr/code-server/releases/download/v3.9.0/code-server_3.9.0_amd64.deb +sudo dpkg -i code-server_3.9.0_amd64.deb sudo systemctl enable --now code-server@$USER # Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml ``` @@ -96,8 +96,8 @@ sudo systemctl enable --now code-server@$USER ## Fedora, CentOS, RHEL, SUSE ```bash -curl -fOL https://github.com/cdr/code-server/releases/download/v3.8.1/code-server-3.8.1-amd64.rpm -sudo rpm -i code-server-3.8.1-amd64.rpm +curl -fOL https://github.com/cdr/code-server/releases/download/v3.9.0/code-server-3.9.0-amd64.rpm +sudo rpm -i code-server-3.9.0-amd64.rpm sudo systemctl enable --now code-server@$USER # Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml ``` @@ -167,10 +167,10 @@ Here is an example script for installing and using a standalone `code-server` re ```bash mkdir -p ~/.local/lib ~/.local/bin -curl -fL https://github.com/cdr/code-server/releases/download/v3.8.1/code-server-3.8.1-linux-amd64.tar.gz \ +curl -fL https://github.com/cdr/code-server/releases/download/v3.9.0/code-server-3.9.0-linux-amd64.tar.gz \ | tar -C ~/.local/lib -xz -mv ~/.local/lib/code-server-3.8.1-linux-amd64 ~/.local/lib/code-server-3.8.1 -ln -s ~/.local/lib/code-server-3.8.1/bin/code-server ~/.local/bin/code-server +mv ~/.local/lib/code-server-3.9.0-linux-amd64 ~/.local/lib/code-server-3.9.0 +ln -s ~/.local/lib/code-server-3.9.0/bin/code-server ~/.local/bin/code-server PATH="~/.local/bin:$PATH" code-server # Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml diff --git a/install.sh b/install.sh index 7b39d9da8..5cb85a651 100755 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ set -eu # code-server's automatic install script. -# See https://github.com/cdr/code-server/blob/v3.8.1/docs/install.md +# See https://github.com/cdr/code-server/blob/v3.9.0/docs/install.md usage() { arg0="$0" @@ -67,7 +67,7 @@ Usage: It will cache all downloaded assets into ~/.cache/code-server -More installation docs are at https://github.com/cdr/code-server/blob/v3.8.1/docs/install.md +More installation docs are at https://github.com/cdr/code-server/blob/v3.9.0/docs/install.md EOF } @@ -419,7 +419,7 @@ install_npm() { echoh echoerr "Please install npm or yarn to install code-server!" echoerr "You will need at least node v12 and a few C dependencies." - echoerr "See the docs https://github.com/cdr/code-server/blob/v3.8.1/docs/install.md#yarn-npm" + echoerr "See the docs https://github.com/cdr/code-server/blob/v3.9.0/docs/install.md#yarn-npm" exit 1 } diff --git a/package.json b/package.json index 8ed08841c..decec942a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "code-server", "license": "MIT", - "version": "3.8.1", + "version": "3.9.0", "description": "Run VS Code on a remote server.", "homepage": "https://github.com/cdr/code-server", "bugs": {