From 69ad52907e8ea109345831d29da5425cb2a55047 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Wed, 27 May 2020 18:04:36 -0400 Subject: [PATCH] v3.4.0 --- .github/workflows/ci.yaml | 10 +++++----- ci/README.md | 5 ++--- ci/build/build-packages.sh | 2 +- doc/install.md | 14 +++++++------- package.json | 2 +- 5 files changed, 16 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 45d3239d..4696df2e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -54,10 +54,10 @@ jobs: with: name: npm-package path: ./release-npm-package - - name: Run ./ci/steps/release-standalone.sh + - name: Run ./ci/steps/release-packages.sh uses: ./ci/container with: - args: ./ci/steps/release-standalone.sh + args: ./ci/steps/release-packages.sh - name: Upload release artifacts uses: actions/upload-artifact@v2 with: @@ -74,10 +74,10 @@ jobs: with: name: npm-package path: ./release-npm-package - - name: Run ./ci/steps/release-standalone.sh + - name: Run ./ci/steps/release-packages.sh uses: ./ci/container/arm64 with: - args: ./ci/steps/release-standalone.sh + args: ./ci/steps/release-packages.sh - name: Upload release artifacts uses: actions/upload-artifact@v2 with: @@ -96,7 +96,7 @@ jobs: path: ./release-npm-package - run: brew unlink node@12 - run: brew install node - - run: ./ci/steps/release-standalone.sh + - run: ./ci/steps/release-packages.sh env: # Otherwise we get rate limited when fetching the ripgrep binary. # For whatever reason only MacOS needs it. diff --git a/ci/README.md b/ci/README.md index e5e63572..4ab6da56 100644 --- a/ci/README.md +++ b/ci/README.md @@ -16,8 +16,7 @@ Make sure you have `$GITHUB_TOKEN` set and [hub](https://github.com/github/hub) 1. Update the version of code-server and make a PR. 1. Update in `package.json` - 2. [README.md](../README.md) and [guide.md](../doc/guide.md) install examples - 3. [install.sh](../install.sh) + 2. Update in [install.sh](../install.sh) 2. GitHub actions will generate the `npm-package`, `release-packages` and `release-images` artifacts. 3. Run `yarn release:github-draft` to create a GitHub draft release from the template with the updated version. @@ -92,7 +91,7 @@ You can disable minification by setting `MINIFY=`. - [./ci/build/nfpm.yaml](./build/nfpm.yaml) - Used to configure [nfpm](https://github.com/goreleaser/nfpm) to generate `.deb` and `.rpm`. - [./ci/build/code-server-nfpm.sh](./build/code-server-nfpm.sh) - - Entrypoint script for code-server for `.deb` and .rpm`. + - Entrypoint script for code-server for `.deb` and `.rpm`. - [./ci/build/code-server.service](./build/code-server.service) - systemd user service packaged into the `.deb` and `.rpm`. - [./ci/build/release-github-draft.sh](./build/release-github-draft.sh) (`yarn release:github-draft`) diff --git a/ci/build/build-packages.sh b/ci/build/build-packages.sh index f2ee912a..716af699 100755 --- a/ci/build/build-packages.sh +++ b/ci/build/build-packages.sh @@ -31,7 +31,7 @@ release_archive() { if [[ $OS == "linux" ]]; then tar -czf "release-packages/$release_name.tar.gz" --transform "s/^\.\/release-standalone/$release_name/" ./release-standalone else - tar -czf "release-packages/$release_name.tar.gz" -s "/^release-standalone/$release_name/" ./release-standalone + tar -czf "release-packages/$release_name.tar.gz" -s "/^release-standalone/$release_name/" release-standalone fi echo "done (release-packages/$release_name)" diff --git a/doc/install.md b/doc/install.md index 7698f48a..bd0fac48 100644 --- a/doc/install.md +++ b/doc/install.md @@ -77,8 +77,8 @@ commands presented in the rest of this document. ## Debian, Ubuntu ```bash -curl -fOL https://github.com/cdr/code-server/releases/download/v3.3.1/code-server_3.3.1_amd64.deb -sudo dpkg -i code-server_3.3.1_amd64.deb +curl -fOL https://github.com/cdr/code-server/releases/download/v3.4.0/code-server_3.4.0_amd64.deb +sudo dpkg -i code-server_3.4.0_amd64.deb systemctl --user enable --now code-server # Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml ``` @@ -86,8 +86,8 @@ systemctl --user enable --now code-server ## Fedora, CentOS, RHEL, SUSE ```bash -curl -fOL https://github.com/cdr/code-server/releases/download/v3.3.1/code-server-3.3.1-amd64.rpm -sudo rpm -i code-server-3.3.1-amd64.rpm +curl -fOL https://github.com/cdr/code-server/releases/download/v3.4.0/code-server-3.4.0-amd64.rpm +sudo rpm -i code-server-3.4.0-amd64.rpm systemctl --user enable --now code-server # Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml ``` @@ -156,10 +156,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.3.1/code-server-3.3.1-linux-amd64.tar.gz \ +curl -fL https://github.com/cdr/code-server/releases/download/v3.4.0/code-server-3.4.0-linux-amd64.tar.gz \ | tar -C ~/.local/lib -xz -mv ~/.local/lib/code-server-3.3.1-linux-amd64 ~/.local/lib/code-server-3.3.1 -ln -s ~/.local/lib/code-server-3.3.1/bin/code-server ~/.local/bin/code-server +mv ~/.local/lib/code-server-3.4.0-linux-amd64 ~/.local/lib/code-server-3.4.0 +ln -s ~/.local/lib/code-server-3.4.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/package.json b/package.json index 533beb6d..cd7c45ff 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "code-server", "license": "MIT", - "version": "3.3.1", + "version": "3.4.0", "description": "Run VS Code on a remote server.", "homepage": "https://github.com/cdr/code-server", "bugs": {