Skip to content

Commit e453d31

Browse files
authored
Merge pull request #2193 from cdr/v3.6.0
v3.6.0
2 parents 00383b7 + a4a03c1 commit e453d31

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

ci/build/build-release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ main() {
2525
rsync README.md "$RELEASE_PATH"
2626
rsync LICENSE.txt "$RELEASE_PATH"
2727
rsync ./lib/vscode/ThirdPartyNotices.txt "$RELEASE_PATH"
28-
rsync ./lib/coder-cloud-agent "$RELEASE_PATH/lib"
2928

3029
# code-server exports types which can be imported and used by plugins. Those
3130
# types import ipc.d.ts but it isn't included in the final vscode build so
@@ -60,6 +59,7 @@ EOF
6059

6160
if [ "$KEEP_MODULES" = 1 ]; then
6261
rsync node_modules/ "$RELEASE_PATH/node_modules"
62+
rsync ./lib/coder-cloud-agent "$RELEASE_PATH/lib"
6363
fi
6464
}
6565

ci/build/npm-postinstall.sh

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ main() {
2424
;;
2525
esac
2626

27+
OS="$(uname | tr '[:upper:]' '[:lower:]')"
28+
curl -fsSL "https://storage.googleapis.com/coder-cloud-releases/agent/latest/$OS/cloud-agent" -o ./lib/coder-cloud-agent
29+
chmod +x ./lib/coder-cloud-agent
30+
2731
if ! vscode_yarn; then
2832
echo "You may not have the required dependencies to build the native modules."
2933
echo "Please see https://github.com/cdr/code-server/blob/master/doc/npm.md"

ci/build/release-github-assets.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ main() {
1111
source ./ci/lib.sh
1212

1313
download_artifact release-packages ./release-packages
14-
local assets=(./release-packages/code-server*"$VERSION"*{.tar.gz,.zip,.deb,.rpm})
14+
local assets=(./release-packages/code-server*"$VERSION"*{.tar.gz,.deb,.rpm})
1515
for i in "${!assets[@]}"; do
1616
assets[$i]="--attach=${assets[$i]}"
1717
done

doc/install.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,17 @@ commands presented in the rest of this document.
7979
## Debian, Ubuntu
8080

8181
```bash
82-
curl -fOL https://github.com/cdr/code-server/releases/download/v3.5.0/code-server_3.5.0_amd64.deb
83-
sudo dpkg -i code-server_3.5.0_amd64.deb
82+
curl -fOL https://github.com/cdr/code-server/releases/download/v3.6.0/code-server_3.6.0_amd64.deb
83+
sudo dpkg -i code-server_3.6.0_amd64.deb
8484
sudo systemctl enable --now code-server@$USER
8585
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
8686
```
8787

8888
## Fedora, CentOS, RHEL, SUSE
8989

9090
```bash
91-
curl -fOL https://github.com/cdr/code-server/releases/download/v3.5.0/code-server-3.5.0-amd64.rpm
92-
sudo rpm -i code-server-3.5.0-amd64.rpm
91+
curl -fOL https://github.com/cdr/code-server/releases/download/v3.6.0/code-server-3.6.0-amd64.rpm
92+
sudo rpm -i code-server-3.6.0-amd64.rpm
9393
sudo systemctl enable --now code-server@$USER
9494
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
9595
```
@@ -158,10 +158,10 @@ Here is an example script for installing and using a standalone `code-server` re
158158

159159
```bash
160160
mkdir -p ~/.local/lib ~/.local/bin
161-
curl -fL https://github.com/cdr/code-server/releases/download/v3.5.0/code-server-3.5.0-linux-amd64.tar.gz \
161+
curl -fL https://github.com/cdr/code-server/releases/download/v3.6.0/code-server-3.6.0-linux-amd64.tar.gz \
162162
| tar -C ~/.local/lib -xz
163-
mv ~/.local/lib/code-server-3.5.0-linux-amd64 ~/.local/lib/code-server-3.5.0
164-
ln -s ~/.local/lib/code-server-3.5.0/bin/code-server ~/.local/bin/code-server
163+
mv ~/.local/lib/code-server-3.6.0-linux-amd64 ~/.local/lib/code-server-3.6.0
164+
ln -s ~/.local/lib/code-server-3.6.0/bin/code-server ~/.local/bin/code-server
165165
PATH="~/.local/bin:$PATH"
166166
code-server
167167
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml

0 commit comments

Comments
 (0)