From e983ba9a4bf5d305b393956c5116ec7e194319b3 Mon Sep 17 00:00:00 2001 From: Asher Date: Mon, 17 May 2021 14:59:41 -0500 Subject: [PATCH] v3.10.1 (#3406) * Update versions * Update changelog --- CHANGELOG.md | 16 ++++++---------- README.md | 2 +- ci/helm-chart/Chart.yaml | 2 +- ci/helm-chart/README.md | 4 ++-- ci/helm-chart/values.yaml | 2 +- ci/lib.sh | 7 ++++--- docs/CONTRIBUTING.md | 2 +- docs/install.md | 14 +++++++------- install.sh | 2 +- package.json | 2 +- 10 files changed, 25 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e4450c8..03d1b306 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,13 +3,12 @@ # Changelog - [Changelog](#changelog) - - [Next Version](#next-version) - - [New Features](#new-features) + - [3.10.1](#3101) - [Bug Fixes](#bug-fixes) - [Documentation](#documentation) - [Development](#development) - [3.10.0](#3100) - - [New Features](#new-features-1) + - [New Features](#new-features) - [Bug Fixes](#bug-fixes-1) - [Documentation](#documentation-1) - [Development](#development-1) @@ -52,18 +51,15 @@ VS Code v0.00.0 --> -## Next Version +## 3.10.1 -VS Code v1.56 - -### New Features - -- item +VS Code v1.56.1 ### Bug Fixes - fix: Check the logged user instead of $USER #3330 @videlanicolas - fix: Fix broken node_modules.asar symlink in npm package #3355 @code-asher +- fix: Update cloud agent to fix version issue #3342 @oxy ### Documentation @@ -82,7 +78,7 @@ VS Code v1.56 ## 3.10.0 -VS Code v1.56 +VS Code v1.56.0 ### New Features diff --git a/README.md b/README.md index 11486c5d..3b8499e7 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # 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) [![codecov](https://codecov.io/gh/cdr/code-server/branch/main/graph/badge.svg?token=5iM9farjnC)](https://codecov.io/gh/cdr/code-server) -[![See latest docs](https://img.shields.io/static/v1?label=Docs&message=see%20latest%20&color=blue)](https://github.com/cdr/code-server/tree/v3.10.0/docs) +[![See latest docs](https://img.shields.io/static/v1?label=Docs&message=see%20latest%20&color=blue)](https://github.com/cdr/code-server/tree/v3.10.1/docs) Run [VS Code](https://github.com/Microsoft/vscode) on any machine anywhere and access it in the browser. diff --git a/ci/helm-chart/Chart.yaml b/ci/helm-chart/Chart.yaml index 68b3234e..f0f2c00d 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.10.0 +appVersion: 3.10.1 diff --git a/ci/helm-chart/README.md b/ci/helm-chart/README.md index 9d2a3edf..30a9e9e4 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.10.0](https://img.shields.io/badge/AppVersion-3.10.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.10.1](https://img.shields.io/badge/AppVersion-3.10.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.10.0"` | | +| image.tag | string | `"3.10.1"` | | | imagePullSecrets | list | `[]` | | | ingress.enabled | bool | `false` | | | nameOverride | string | `""` | | diff --git a/ci/helm-chart/values.yaml b/ci/helm-chart/values.yaml index 54f6a2af..c3ac330a 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.10.0' + tag: '3.10.1' pullPolicy: Always imagePullSecrets: [] diff --git a/ci/lib.sh b/ci/lib.sh index 05600dfe..3b78cb6e 100755 --- a/ci/lib.sh +++ b/ci/lib.sh @@ -49,14 +49,15 @@ arch() { esac } -# Grabs the most recent ci.yaml github workflow run that was successful and triggered from the same commit being pushd. +# Grabs the most recent ci.yaml github workflow run that was triggered from the +# pull request of the release branch for this version (regardless of whether +# that run succeeded or failed). The release branch name must be in semver +# format with a v prepended. # This will contain the artifacts we want. # https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs get_artifacts_url() { local artifacts_url local workflow_runs_url="repos/:owner/:repo/actions/workflows/ci.yaml/runs?event=pull_request" - # For releases, we look for run based on the branch name v$code_server_version - # example: v3.10.0 local version_branch="v$VERSION" artifacts_url=$(gh api "$workflow_runs_url" | jq -r ".workflow_runs[] | select(.head_branch == \"$version_branch\") | .artifacts_url" | head -n 1) if [[ -z "$artifacts_url" ]]; then diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 5ebe1bc8..14c383b1 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -45,7 +45,7 @@ There are several differences, however. Here is what is needed: - [`jq`](https://stedolan.github.io/jq/) - used to build code-server releases - [`gnupg`](https://gnupg.org/index.html) - - all commits must be signed an verified + - all commits must be signed and verified - see GitHub's ["Managing commit signature verification"](https://docs.github.com/en/github/authenticating-to-github/managing-commit-signature-verification) or follow [this tutorial](https://joeprevite.com/verify-commits-on-github) - `build-essential` (Linux) - `apt-get install -y build-essential` - used by VS Code diff --git a/docs/install.md b/docs/install.md index 23eb9bee..dc93ff5f 100644 --- a/docs/install.md +++ b/docs/install.md @@ -93,8 +93,8 @@ NOTE: The standalone arm64 .deb does not support Ubuntu <16.04. Please upgrade or [build with yarn](#yarn-npm). ```bash -curl -fOL https://github.com/cdr/code-server/releases/download/v3.10.0/code-server_3.10.0_amd64.deb -sudo dpkg -i code-server_3.10.0_amd64.deb +curl -fOL https://github.com/cdr/code-server/releases/download/v$VERSION/code-server_$VERSION_amd64.deb +sudo dpkg -i code-server_$VERSION_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 ``` @@ -105,8 +105,8 @@ NOTE: The standalone arm64 .rpm does not support CentOS 7. Please upgrade or [build with yarn](#yarn-npm). ```bash -curl -fOL https://github.com/cdr/code-server/releases/download/v3.10.0/code-server-3.10.0-amd64.rpm -sudo rpm -i code-server-3.10.0-amd64.rpm +curl -fOL https://github.com/cdr/code-server/releases/download/v$VERSION/code-server-$VERSION-amd64.rpm +sudo rpm -i code-server-$VERSION-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 ``` @@ -184,10 +184,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.10.0/code-server-3.10.0-linux-amd64.tar.gz \ +curl -fL https://github.com/cdr/code-server/releases/download/v$VERSION/code-server-$VERSION-linux-amd64.tar.gz \ | tar -C ~/.local/lib -xz -mv ~/.local/lib/code-server-3.10.0-linux-amd64 ~/.local/lib/code-server-3.10.0 -ln -s ~/.local/lib/code-server-3.10.0/bin/code-server ~/.local/bin/code-server +mv ~/.local/lib/code-server-$VERSION-linux-amd64 ~/.local/lib/code-server-$VERSION +ln -s ~/.local/lib/code-server-$VERSION/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 c960bddd..3b2a2f93 100755 --- a/install.sh +++ b/install.sh @@ -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.10.0/docs/install.md#yarn-npm" + echoerr "See the docs https://github.com/cdr/code-server/blob/v3.10.1/docs/install.md#yarn-npm" exit 1 } diff --git a/package.json b/package.json index 0c4f80d4..cbaa1179 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "code-server", "license": "MIT", - "version": "3.10.0", + "version": "3.10.1", "description": "Run VS Code on a remote server.", "homepage": "https://github.com/cdr/code-server", "bugs": {