Fix: stage state_merged.db after merge

This commit is contained in:
2026-04-14 08:23:33 +09:00
parent 2dce9223e0
commit 738bd5b762

View File

@@ -155,7 +155,10 @@ finally:
shutil.rmtree(tmpdir, ignore_errors=True)
PYEOF
# ── Step 5: Push ─────────────────────────────────────────────────────────
# ── Step 5: Stage merged DB (it was just created in Step 4) ─────────────
git add state_merged.db 2>/dev/null || true
# ── Step 6: Push ─────────────────────────────────────────────────────────
if [ "$HAS_LOCAL" = true ]; then
git commit -m "Sync $(date '+%Y-%m-%d %H:%M')" 2>/dev/null || true
if ! git push origin main 2>&1; then