[object Object]

← back to Designer Wallcoverings

fix(stage script): add curl -g so bracketed ?asset[key]= GET doesn't glob-fail (exit 3)

887f840a93626c4086e3f0b1326286f017174872 · 2026-06-25 16:22:27 -0700 · Steve

Files touched

Diff

commit 887f840a93626c4086e3f0b1326286f017174872
Author: Steve <steve@designerwallcoverings.com>
Date:   Thu Jun 25 16:22:27 2026 -0700

    fix(stage script): add curl -g so bracketed ?asset[key]= GET doesn't glob-fail (exit 3)
---
 pending-approval/boost-filter-topbar-2026-06-25/stage-on-dev-theme.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pending-approval/boost-filter-topbar-2026-06-25/stage-on-dev-theme.sh b/pending-approval/boost-filter-topbar-2026-06-25/stage-on-dev-theme.sh
index 3079075c..9f5e6cf0 100755
--- a/pending-approval/boost-filter-topbar-2026-06-25/stage-on-dev-theme.sh
+++ b/pending-approval/boost-filter-topbar-2026-06-25/stage-on-dev-theme.sh
@@ -58,7 +58,7 @@ echo "  DEV theme id = $DEV_ID"
 KEY="sections/dw-boost-filter-topbar.liquid"
 
 # backup if it already exists on the dev theme
-existing="$(curl -s "${hdr[@]}" "$base/themes/$DEV_ID/assets.json?asset[key]=$KEY")"
+existing="$(curl -s -g "${hdr[@]}" "$base/themes/$DEV_ID/assets.json?asset[key]=$KEY")"
 if printf '%s' "$existing" | grep -q '"value"'; then
   printf '%s' "$existing" | python3 -c 'import sys,json;print(json.load(sys.stdin)["asset"]["value"])' > "$BACKUPS/dw-boost-filter-topbar.liquid.$TS.bak" || true
   echo "  backed up prior dev value → backups/dw-boost-filter-topbar.liquid.$TS.bak"
@@ -71,7 +71,7 @@ printf '%s' "$resp" | grep -q '"key"' || { echo "FATAL: upload failed: $resp"; e
 
 # byte-verify
 sent_len=$(wc -c < "$REPO_SECTION" | tr -d ' ')
-got="$(curl -s "${hdr[@]}" "$base/themes/$DEV_ID/assets.json?asset[key]=$KEY" | python3 -c 'import sys,json;print(len(json.load(sys.stdin)["asset"]["value"]))')"
+got="$(curl -s -g "${hdr[@]}" "$base/themes/$DEV_ID/assets.json?asset[key]=$KEY" | python3 -c 'import sys,json;print(len(json.load(sys.stdin)["asset"]["value"]))')"
 echo "  uploaded ($sent_len B) · verified on theme ($got B)"
 
 echo

← fca4c404 fix(filter-topbar): split 199-char schema header into header  ·  back to Designer Wallcoverings  ·  AF repair: add --only-mfr scoped filter (enables targeted co 9983383c →