From 2a2dade3098dea0e6370ce96d2488d45047d2dd6 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Fri, 5 Feb 2021 14:07:00 -0700 Subject: [PATCH 1/8] feat: update version in package.json to 3.8.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e94e0668..51479b90 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "code-server", "license": "MIT", - "version": "3.8.0", + "version": "3.8.1", "description": "Run VS Code on a remote server.", "homepage": "https://github.com/cdr/code-server", "bugs": { From 25bf871e16a3c4d22155ebe1b163e16811a0c332 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Fri, 5 Feb 2021 14:07:27 -0700 Subject: [PATCH 2/8] docs(install.md): update to 3.8.1 --- docs/install.md | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/docs/install.md b/docs/install.md index 437c0df0..1538e082 100644 --- a/docs/install.md +++ b/docs/install.md @@ -2,18 +2,19 @@ # Install -- [Upgrading](#upgrading) -- [install.sh](#installsh) - - [Flags](#flags) - - [Detection Reference](#detection-reference) -- [Debian, Ubuntu](#debian-ubuntu) -- [Fedora, CentOS, RHEL, SUSE](#fedora-centos-rhel-suse) -- [Arch Linux](#arch-linux) -- [yarn, npm](#yarn-npm) -- [macOS](#macos) -- [Standalone Releases](#standalone-releases) -- [Docker](#docker) -- [helm](#helm) +- [Install](#install) + - [Upgrading](#upgrading) + - [install.sh](#installsh) + - [Flags](#flags) + - [Detection Reference](#detection-reference) + - [Debian, Ubuntu](#debian-ubuntu) + - [Fedora, CentOS, RHEL, SUSE](#fedora-centos-rhel-suse) + - [Arch Linux](#arch-linux) + - [yarn, npm](#yarn-npm) + - [macOS](#macos) + - [Standalone Releases](#standalone-releases) + - [Docker](#docker) + - [helm](#helm) @@ -87,8 +88,8 @@ commands presented in the rest of this document. ## Debian, Ubuntu ```bash -curl -fOL https://github.com/cdr/code-server/releases/download/v3.8.0/code-server_3.8.0_amd64.deb -sudo dpkg -i code-server_3.8.0_amd64.deb +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 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 +97,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.0/code-server-3.8.0-amd64.rpm -sudo rpm -i code-server-3.8.0-amd64.rpm +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 sudo systemctl enable --now code-server@$USER # Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml ``` @@ -166,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.0/code-server-3.8.0-linux-amd64.tar.gz \ +curl -fL https://github.com/cdr/code-server/releases/download/v3.8.1/code-server-3.8.1-linux-amd64.tar.gz \ | tar -C ~/.local/lib -xz -mv ~/.local/lib/code-server-3.8.0-linux-amd64 ~/.local/lib/code-server-3.8.0 -ln -s ~/.local/lib/code-server-3.8.0/bin/code-server ~/.local/bin/code-server +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 PATH="~/.local/bin:$PATH" code-server # Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml From 244775dab587421b250676f14a957dd8889ae356 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Fri, 5 Feb 2021 14:08:35 -0700 Subject: [PATCH 3/8] docs(helm chart readme): update to 3.8.1 --- ci/helm-chart/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/helm-chart/README.md b/ci/helm-chart/README.md index c8ba35a1..03cd71cc 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.0](https://img.shields.io/badge/AppVersion-3.8.0-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.8.1](https://img.shields.io/badge/AppVersion-3.8.1-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.0"` | | +| image.tag | string | `"3.8.1"` | | | imagePullSecrets | list | `[]` | | | ingress.enabled | bool | `false` | | | nameOverride | string | `""` | | From 05d8b61a326b5ea1ffaf44818d56f8aac5b7eb3b Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Fri, 5 Feb 2021 14:09:16 -0700 Subject: [PATCH 4/8] chore: update to 3.8.1 in Chart.yaml --- ci/helm-chart/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/helm-chart/Chart.yaml b/ci/helm-chart/Chart.yaml index 0862625c..bb9f408a 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.0 +appVersion: 3.8.1 From 55c916a987816b9ee68de9583eab45fb20c8135e Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Fri, 5 Feb 2021 14:10:27 -0700 Subject: [PATCH 5/8] docs: update release doc with rg instructions --- ci/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/README.md b/ci/README.md index df8af9f6..bd38e06d 100644 --- a/ci/README.md +++ b/ci/README.md @@ -21,6 +21,7 @@ Make sure you have `$GITHUB_TOKEN` set and [hub](https://github.com/github/hub) - Remember to update the chart version as well on top of appVersion in `Chart.yaml`. - Run `rg -g '!yarn.lock' -g '!*.svg' '3\.7\.5'` to ensure all values have been changed. Replace the numbers as needed. + - You can install `rg` or `ripgrep` on macOS [here](https://formulae.brew.sh/formula/ripgrep). 4. Update the code coverage badge (see [here](#updating-code-coverage-in-readme) for instructions) 2. GitHub actions will generate the `npm-package`, `release-packages` and `release-images` artifacts. 1. You do not have to wait for these. From 07da291d72673032cf201491a84d81ed070520bb Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Fri, 5 Feb 2021 14:11:34 -0700 Subject: [PATCH 6/8] chore: update v to 3.8.1 in values.yaml --- ci/helm-chart/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/helm-chart/values.yaml b/ci/helm-chart/values.yaml index 7a04321d..b240264c 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.0' + tag: '3.8.1' pullPolicy: Always imagePullSecrets: [] From 2a127f168ce751e58a790bd31fc8c723eaca433f Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Fri, 5 Feb 2021 14:13:26 -0700 Subject: [PATCH 7/8] docs: update code coverage badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a0a5f36b..e17965a1 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-46.71%25-green.svg) +![Lines](https://img.shields.io/badge/Coverage-40.7%25-green.svg) Run [VS Code](https://github.com/Microsoft/vscode) on any machine anywhere and access it in the browser. From 41ad0c0c4c14df78e1bfa3a44d8b633ed2fc26e5 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Fri, 5 Feb 2021 16:26:34 -0500 Subject: [PATCH 8/8] release-github-draft.sh: Remove incorrect assets reference I think at some point this script created the release and attached assets but that's not the case anymore. For some reason this would error with undefined variable reference for joe but bash doesn't complain for me or Asher. Not sure what the difference is. --- ci/build/release-github-draft.sh | 2 +- docs/install.md | 25 ++++++++++++------------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/ci/build/release-github-draft.sh b/ci/build/release-github-draft.sh index 1f33c34c..835b7b43 100755 --- a/ci/build/release-github-draft.sh +++ b/ci/build/release-github-draft.sh @@ -10,7 +10,7 @@ main() { hub release create \ --file - \ -t "$(git rev-parse HEAD)" \ - --draft "${assets[@]}" "v$VERSION" << EOF + --draft "v$VERSION" << EOF v$VERSION VS Code v$(vscode_version) diff --git a/docs/install.md b/docs/install.md index 1538e082..3a1f7909 100644 --- a/docs/install.md +++ b/docs/install.md @@ -2,19 +2,18 @@ # Install -- [Install](#install) - - [Upgrading](#upgrading) - - [install.sh](#installsh) - - [Flags](#flags) - - [Detection Reference](#detection-reference) - - [Debian, Ubuntu](#debian-ubuntu) - - [Fedora, CentOS, RHEL, SUSE](#fedora-centos-rhel-suse) - - [Arch Linux](#arch-linux) - - [yarn, npm](#yarn-npm) - - [macOS](#macos) - - [Standalone Releases](#standalone-releases) - - [Docker](#docker) - - [helm](#helm) +- [Upgrading](#upgrading) +- [install.sh](#installsh) + - [Flags](#flags) + - [Detection Reference](#detection-reference) +- [Debian, Ubuntu](#debian-ubuntu) +- [Fedora, CentOS, RHEL, SUSE](#fedora-centos-rhel-suse) +- [Arch Linux](#arch-linux) +- [yarn, npm](#yarn-npm) +- [macOS](#macos) +- [Standalone Releases](#standalone-releases) +- [Docker](#docker) +- [helm](#helm)