From d6610f82e9c694d7bcbcc4b44d95d8edb0181bff Mon Sep 17 00:00:00 2001 From: datadunia Date: Fri, 26 Jun 2026 10:28:22 +0700 Subject: [PATCH] fix: use explicit submodule paths instead of --exclude flag git submodule update does not support --exclude flag. Explicitly specify Docker submodules: server-core, dashboard-ui --- update.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/update.sh b/update.sh index a9f9130..6ebd766 100755 --- a/update.sh +++ b/update.sh @@ -45,10 +45,9 @@ git pull origin main || { GIT_PULL_FAILED=true; echo "[!] Git pull for main repo echo "[+] Syncing and updating submodules..." SUBMODULE_FAILED=false -# Exclude device-agent and device-agent-embedded (built separately, not Docker) -git submodule update --init --recursive --remote \ - --exclude apps/device-agent \ - --exclude apps/device-agent-embedded || { SUBMODULE_FAILED=true; echo "[!] Git submodule update skipped or failed."; } +# Only update server-core and dashboard-ui (Docker components) +# device-agent and device-agent-embedded are built separately +git submodule update --init --remote apps/server-core apps/dashboard-ui || { SUBMODULE_FAILED=true; echo "[!] Git submodule update skipped or failed."; } # 2b. Build VitePress docs (non-blocking) echo "[+] Building VitePress documentation..."