Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update codeserver version to latest #138

Merged
merged 1 commit into from
Apr 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scripts/install-code-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
set -xe
DEFAULT_PREFIX="${1}"
shift # path to environment yaml or lock file
CODE_SERVER_VERSION=4.5.1
CODE_SERVER_VERSION=4.23.1

mkdir -p ${DEFAULT_PREFIX}/code-server
cd ${DEFAULT_PREFIX}/code-server

# Fetch the snapshot of https://code-server.dev/install.sh as of the time of writing
wget --quiet https://raw.githubusercontent.com/coder/code-server/326a1d1862872955cec062030df2bd103799a1eb/install.sh
expected_sum=ed18563871beb535130019b6c5b62206cc4a60c8bf4256aae96ce737951fc253
wget --quiet https://raw.githubusercontent.com/coder/code-server/v4.23.1/install.sh
expected_sum=ef0324043bc7493989764315e22bbc85c38c4e895549538b7e701948b64495e6

if [[ ! $(sha256sum install.sh) == "${expected_sum} install.sh" ]]; then
echo Unexpected hash from code-server install script
Expand Down
Loading