fix: show git pull errors

This commit is contained in:
Claus Lohmar 2026-07-10 23:24:24 +01:00
parent 54b2baf36c
commit a4b92feed9

View file

@ -26,7 +26,7 @@ else echo "[MODE] Smart update (target exists)"; fi
# --- Pull + build --- # --- Pull + build ---
cd "$REPO_DIR" cd "$REPO_DIR"
echo "[1/5] Pulling latest code..." echo "[1/5] Pulling latest code..."
git pull 2>/dev/null || true git pull 2>&1 || echo "[WARN] Git pull failed — using existing code"
echo "[2/5] Building binary (static)..." echo "[2/5] Building binary (static)..."
export PATH=$PATH:/usr/local/go/bin export PATH=$PATH:/usr/local/go/bin