From 5b307cfcf2fde84ed380fe835a9aeed9316f0a78 Mon Sep 17 00:00:00 2001 From: Cavebat Software <556437+cavebatsofware@users.noreply.github.com> Date: Thu, 16 Apr 2026 17:30:33 -0400 Subject: [PATCH] vscodium: quote curl command to isolate version string Co-authored-by: Anders Kaseorg (cherry picked from commit f0219ddf6b82638e1b9fe31b107c5b4463d58d4a) --- pkgs/applications/editors/vscode/update-vscodium.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/vscode/update-vscodium.sh b/pkgs/applications/editors/vscode/update-vscodium.sh index a1207e3f9815..6420ff0ee1f2 100755 --- a/pkgs/applications/editors/vscode/update-vscodium.sh +++ b/pkgs/applications/editors/vscode/update-vscodium.sh @@ -5,7 +5,7 @@ set -eou pipefail latestVersion=$(curl ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} -sL https://api.github.com/repos/VSCodium/vscodium/releases/latest | jq -r ".tag_name") currentVersion=$(nix-instantiate --eval -E "with import ./. {}; vscodium.version or (lib.getVersion vscodium)" | tr -d '"') -latestUpstream=$(curl -sL https://raw.githubusercontent.com/VSCodium/vscodium/refs/tags/$latestVersion/upstream/stable.json | jq -r ".tag") +latestUpstream=$(curl -sL "https://raw.githubusercontent.com/VSCodium/vscodium/refs/tags/$latestVersion/upstream/stable.json" | jq -r ".tag") echo "latest version: $latestVersion" echo "current version: $currentVersion"