From 599f0908953e7c1e1a22ea8fc19adfbfc401f02c Mon Sep 17 00:00:00 2001 From: elpatron Date: Fri, 5 Jun 2026 19:13:03 +0200 Subject: [PATCH] fix: resolve unbound variable error on remote deploy to prod --- scripts/update-remotes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update-remotes.sh b/scripts/update-remotes.sh index 3720a70..e054fd2 100755 --- a/scripts/update-remotes.sh +++ b/scripts/update-remotes.sh @@ -291,7 +291,7 @@ MAX_WAIT="$4" APP_URL="$5" APP_VERSION="$6" DEST="$7" -DEPLOY_BRANCH="$8" +DEPLOY_BRANCH="${8:-}" cd "$REMOTE_DIR" || { echo "Error: Remote directory '$REMOTE_DIR' not found."; exit 1; }