From f4cf7e3b4f5eeae94b3638364596b017e9040671 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 27 Apr 2026 03:06:06 +0100 Subject: [PATCH] test(docker): recreate update fixture ui asset after install --- scripts/e2e/update-channel-switch-docker.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/e2e/update-channel-switch-docker.sh b/scripts/e2e/update-channel-switch-docker.sh index 2ae11d6fe28..730ff942142 100755 --- a/scripts/e2e/update-channel-switch-docker.sh +++ b/scripts/e2e/update-channel-switch-docker.sh @@ -62,6 +62,11 @@ NODE cd "$git_root" npm install --omit=optional --no-fund --no-audit >/tmp/openclaw-git-install.log 2>&1 ) +node - <<'"'"'NODE'"'"' +const fs = require("node:fs"); +fs.mkdirSync("/tmp/openclaw-git/dist/control-ui", { recursive: true }); +fs.writeFileSync("/tmp/openclaw-git/dist/control-ui/index.html", "fixture\n"); +NODE git config --global user.email "docker-e2e@openclaw.local" git config --global user.name "OpenClaw Docker E2E"