From ddeb8bc504d51e1ca808d67d489d56ffecedda12 Mon Sep 17 00:00:00 2001 From: Joe Lothan Date: Mon, 18 May 2026 01:00:09 -0400 Subject: [PATCH] fix TOTAL_BUNDLES sed command in deploy script --- pipeline/06_frontend/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline/06_frontend/deploy.sh b/pipeline/06_frontend/deploy.sh index d42ff13..58359f8 100755 --- a/pipeline/06_frontend/deploy.sh +++ b/pipeline/06_frontend/deploy.sh @@ -66,7 +66,7 @@ cp "$FRONTEND_DIR/index.html" "$TMPDIR/index.html" cp "$FRONTEND_DIR/site.js" "$TMPDIR/site.js" cp "$FRONTEND_DIR/bot.html" "$TMPDIR/bot.html" -sed -i "s/const TOTAL_BUNDLES = .*/const TOTAL_BUNDLES = ${TOTAL_BUNDLES};/" "$TMPDIR/index.html" +sed -i "s/const TOTAL_BUNDLES = [0-9]*/const TOTAL_BUNDLES = ${TOTAL_BUNDLES}/" "$TMPDIR/index.html" echo "Injected TOTAL_BUNDLES = $TOTAL_BUNDLES" # Upload