Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ec3d997

Browse files
fix: Update install.sh to use "coder" GitHub organization (#4638)
* fix: Update install.sh to use "coder" GitHub organization * Update docs preview
1 parent 73e0b79 commit ec3d997

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

‎.github/workflows/docs-preview.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Checkout m
2929
uses: actions/checkout@v2
3030
with:
31-
repository: cdr/m
31+
repository: coder/m
3232
ref: refs/heads/master
3333
token: ${{ secrets.GH_ACCESS_TOKEN }}
3434
submodules: true

‎install.sh‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ EOF
7575

7676
echo_latest_version() {
7777
if [ "${EDGE-}" ]; then
78-
version="$(curl -fsSL https://api.github.com/repos/cdr/code-server/releases | awk 'match(0,ドル/.*"html_url": "(.*\/releases\/tag\/.*)".*/)' | head -n 1 | awk -F '"' '{print 4ドル}')"
78+
version="$(curl -fsSL https://api.github.com/repos/coder/code-server/releases | awk 'match(0,ドル/.*"html_url": "(.*\/releases\/tag\/.*)".*/)' | head -n 1 | awk -F '"' '{print 4ドル}')"
7979
else
8080
# https://gist.github.com/lukechilds/a83e1d7127b78fef38c2914c4ececc3c#gistcomment-2758860
81-
version="$(curl -fsSLI -o /dev/null -w "%{url_effective}" https://github.com/cdr/code-server/releases/latest)"
81+
version="$(curl -fsSLI -o /dev/null -w "%{url_effective}" https://github.com/coder/code-server/releases/latest)"
8282
fi
83-
version="${version#https://github.com/cdr/code-server/releases/tag/}"
83+
version="${version#https://github.com/coder/code-server/releases/tag/}"
8484
version="${version#v}"
8585
echo "$version"
8686
}
@@ -351,7 +351,7 @@ install_deb() {
351351
echoh "Installing v$VERSION of the $ARCH deb package from GitHub."
352352
echoh
353353

354-
fetch "https://github.com/cdr/code-server/releases/download/v$VERSION/code-server_${VERSION}_$ARCH.deb" \
354+
fetch "https://github.com/coder/code-server/releases/download/v$VERSION/code-server_${VERSION}_$ARCH.deb" \
355355
"$CACHE_DIR/code-server_${VERSION}_$ARCH.deb"
356356
sudo_sh_c dpkg -i "$CACHE_DIR/code-server_${VERSION}_$ARCH.deb"
357357

@@ -362,7 +362,7 @@ install_rpm() {
362362
echoh "Installing v$VERSION of the $ARCH rpm package from GitHub."
363363
echoh
364364

365-
fetch "https://github.com/cdr/code-server/releases/download/v$VERSION/code-server-$VERSION-$ARCH.rpm" \
365+
fetch "https://github.com/coder/code-server/releases/download/v$VERSION/code-server-$VERSION-$ARCH.rpm" \
366366
"$CACHE_DIR/code-server-$VERSION-$ARCH.rpm"
367367
sudo_sh_c rpm -i "$CACHE_DIR/code-server-$VERSION-$ARCH.rpm"
368368

@@ -388,7 +388,7 @@ install_standalone() {
388388
echoh "Installing v$VERSION of the $ARCH release from GitHub."
389389
echoh
390390

391-
fetch "https://github.com/cdr/code-server/releases/download/v$VERSION/code-server-$VERSION-$OS-$ARCH.tar.gz" \
391+
fetch "https://github.com/coder/code-server/releases/download/v$VERSION/code-server-$VERSION-$OS-$ARCH.tar.gz" \
392392
"$CACHE_DIR/code-server-$VERSION-$OS-$ARCH.tar.gz"
393393

394394
# -w only works if the directory exists so try creating it first. If this

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /