fix last commit
Build / changes (push) Has been cancelled
Build / Run prettier check (push) Has been cancelled
Build / Doctoc markdown files (push) Has been cancelled
Build / Lint Helm chart (push) Has been cancelled
Build / Lint TypeScript files (push) Has been cancelled
Build / Lint GitHub Actions (push) Has been cancelled
Build / Run unit tests (push) Has been cancelled
Build / linux-x64 (push) Has been cancelled
Build / Run e2e tests (push) Has been cancelled
Build / Run e2e tests behind proxy (push) Has been cancelled
Installer integration / Test installer on Ubuntu (push) Has been cancelled
Installer integration / Test installer on Alpine (push) Has been cancelled
Installer integration / Test installer on macOS (push) Has been cancelled
Script unit tests / Run script unit tests (push) Has been cancelled
Script unit tests / Lint shell files (push) Has been cancelled
Build / changes (push) Has been cancelled
Build / Run prettier check (push) Has been cancelled
Build / Doctoc markdown files (push) Has been cancelled
Build / Lint Helm chart (push) Has been cancelled
Build / Lint TypeScript files (push) Has been cancelled
Build / Lint GitHub Actions (push) Has been cancelled
Build / Run unit tests (push) Has been cancelled
Build / linux-x64 (push) Has been cancelled
Build / Run e2e tests (push) Has been cancelled
Build / Run e2e tests behind proxy (push) Has been cancelled
Installer integration / Test installer on Ubuntu (push) Has been cancelled
Installer integration / Test installer on Alpine (push) Has been cancelled
Installer integration / Test installer on macOS (push) Has been cancelled
Script unit tests / Run script unit tests (push) Has been cancelled
Script unit tests / Lint shell files (push) Has been cancelled
This commit is contained in:
+3
-3
@@ -80,7 +80,7 @@ echo_latest_version() {
|
||||
# https://gist.github.com/lukechilds/a83e1d7127b78fef38c2914c4ececc3c#gistcomment-2758860
|
||||
version="$(curl -fsSLI -o /dev/null -w "%{url_effective}" https://gitamin.ir/IranAccess/code-server/releases/latest)"
|
||||
fi
|
||||
version="${version#https://gitamin.ir/IranAccess/code-server/tag/}"
|
||||
version="${version#https://gitamin.ir/IranAccess/releases/code-server/tag/}"
|
||||
version="${version#v}"
|
||||
echo "$version"
|
||||
}
|
||||
@@ -359,7 +359,7 @@ install_deb() {
|
||||
echoh "Installing v$VERSION of the $ARCH deb package from GitHub."
|
||||
echoh
|
||||
|
||||
fetch "https://gitamin.ir/IranAccess/code-server//releases/download/v$VERSION/code-server_${VERSION}_$ARCH.deb" \
|
||||
fetch "https://gitamin.ir/IranAccess/code-server/releases/download/v$VERSION/code-server_${VERSION}_$ARCH.deb" \
|
||||
"$CACHE_DIR/code-server_${VERSION}_$ARCH.deb"
|
||||
sudo_sh_c dpkg -i "$CACHE_DIR/code-server_${VERSION}_$ARCH.deb"
|
||||
|
||||
@@ -396,7 +396,7 @@ install_standalone() {
|
||||
echoh "Installing v$VERSION of the $ARCH release from GitHub."
|
||||
echoh
|
||||
|
||||
fetch "https://gitamin.ir/IranAccess/code-server//releases/download/v$VERSION/code-server-$VERSION-$OS-$ARCH.tar.gz" \
|
||||
fetch "https://gitamin.ir/IranAccess/code-server/releases/download/v$VERSION/code-server-$VERSION-$OS-$ARCH.tar.gz" \
|
||||
"$CACHE_DIR/code-server-$VERSION-$OS-$ARCH.tar.gz"
|
||||
|
||||
# -w only works if the directory exists so try creating it first. If this
|
||||
|
||||
Reference in New Issue
Block a user