From 6cb312fbf9d2539eb641f6ff92fd5b1fca7f82e4 Mon Sep 17 00:00:00 2001 From: borjaperfra Date: Mon, 14 Sep 2026 15:24:49 +0200 Subject: [PATCH] fix: point both installers at v0.1.14 The bash installer's rate-limit message was unreachable: the lookup runs under `set -euo pipefail`, so a grep finding no tag_name killed the script one line before the explanation. Anyone behind a shared IP got `fetching latest release...` and a bare exit. It also sends a token now when one is in the environment. helmcode/nan-cli#16. Co-Authored-By: Claude Opus 5 (1M context) --- src/pages/install.ps1.ts | 2 +- src/pages/install.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/install.ps1.ts b/src/pages/install.ps1.ts index c63f12d..0dc77c2 100644 --- a/src/pages/install.ps1.ts +++ b/src/pages/install.ps1.ts @@ -53,7 +53,7 @@ export const prerender = false; * something piped into `iex`. */ const SCRIPT_URL = - 'https://raw.githubusercontent.com/helmcode/nan-cli/v0.1.13/scripts/install.ps1'; + 'https://raw.githubusercontent.com/helmcode/nan-cli/v0.1.14/scripts/install.ps1'; export const GET: APIRoute = async () => { let upstream: Response; diff --git a/src/pages/install.ts b/src/pages/install.ts index 97f5a5d..8fa9015 100644 --- a/src/pages/install.ts +++ b/src/pages/install.ts @@ -42,7 +42,7 @@ export const prerender = false; * it, which explains neither what happened nor what to do. */ const SCRIPT_URL = - 'https://raw.githubusercontent.com/helmcode/nan-cli/v0.1.13/scripts/install.sh'; + 'https://raw.githubusercontent.com/helmcode/nan-cli/v0.1.14/scripts/install.sh'; export const GET: APIRoute = async () => { let upstream: Response;