fix: show git pull errors
This commit is contained in:
parent
54b2baf36c
commit
a4b92feed9
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ else echo "[MODE] Smart update (target exists)"; fi
|
|||
# --- Pull + build ---
|
||||
cd "$REPO_DIR"
|
||||
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)..."
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
|
|
|
|||
Loading…
Reference in a new issue