From 02044ea4f877ac06a492e27b79d3a7d3d9b6dfc6 Mon Sep 17 00:00:00 2001 From: Jeffrey Aven Date: Sat, 4 Jul 2026 07:18:21 +1000 Subject: [PATCH] render scripts: proxy path is /stackql/ without v prefix The releases.stackql.io proxy serves versioned assets at /stackql// (e.g. /stackql/0.10.542/...), NOT v-prefixed. base_url was building /stackql/v/ which 404s. GitHub sha_base keeps the v prefix (v) since that is GitHub's own path scheme. Verified: rendered baseUrl https://releases.stackql.io/stackql/0.10.542 serves all four bundles with sha256 matching the canonical pins. Co-Authored-By: Claude Opus 4.8 --- scripts/render-npm-manifest.sh | 4 ++-- scripts/render-pypi-manifest.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/render-npm-manifest.sh b/scripts/render-npm-manifest.sh index 9e95968..7807152 100755 --- a/scripts/render-npm-manifest.sh +++ b/scripts/render-npm-manifest.sh @@ -34,8 +34,8 @@ while [ $# -gt 0 ]; do done [ -n "$VERSION" ] || { echo "error: --version required (or VERSION=X.Y.Z)" >&2; exit 2; } -sha_base="$RELEASE_BASE/v$VERSION" # canonical GitHub release - for the pins -base_url="$DOWNLOAD_BASE/v$VERSION" # proxy front door - written to platforms.json +sha_base="$RELEASE_BASE/v$VERSION" # canonical GitHub release (v-prefixed) - for the pins +base_url="$DOWNLOAD_BASE/$VERSION" # proxy front door (no v prefix) - written to platforms.json fetch_sha() { # args: target-label -> prints the hex digest from the published .sha256 diff --git a/scripts/render-pypi-manifest.sh b/scripts/render-pypi-manifest.sh index a88cb4f..ed19dec 100755 --- a/scripts/render-pypi-manifest.sh +++ b/scripts/render-pypi-manifest.sh @@ -33,8 +33,8 @@ while [ $# -gt 0 ]; do done [ -n "$VERSION" ] || { echo "error: --version required (or VERSION=X.Y.Z)" >&2; exit 2; } -sha_base="$RELEASE_BASE/v$VERSION" # canonical GitHub release - for the pins -base_url="$DOWNLOAD_BASE/v$VERSION" # proxy front door - written to platforms.json +sha_base="$RELEASE_BASE/v$VERSION" # canonical GitHub release (v-prefixed) - for the pins +base_url="$DOWNLOAD_BASE/$VERSION" # proxy front door (no v prefix) - written to platforms.json fetch_sha() { local target="$1" line