File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,6 +114,19 @@ jobs:
114114 cp "/tmp/smoke-server/codebase-memory-mcp${SUFFIX}-${OS}-${ARCH}.tar.gz" \
115115 "/tmp/smoke-server/codebase-memory-mcp-${OS}-${ARCH}.tar.gz"
116116 fi
117+ # The linux binary self-updates from the fully-static "-portable" asset
118+ # (build_update_url in src/cli/cli.c appends -portable on linux; _build.yml's
119+ # build-linux-portable job ships it), so the smoke server must serve that name
120+ # too -- otherwise `update` 404s and Phase 14 fails. Mirror the tarball(s) under
121+ # the -portable name on linux only.
122+ if [ "$OS" = "linux" ]; then
123+ cp "/tmp/smoke-server/codebase-memory-mcp${SUFFIX}-${OS}-${ARCH}.tar.gz" \
124+ "/tmp/smoke-server/codebase-memory-mcp${SUFFIX}-${OS}-${ARCH}-portable.tar.gz"
125+ if [ -n "$SUFFIX" ]; then
126+ cp "/tmp/smoke-server/codebase-memory-mcp${SUFFIX}-${OS}-${ARCH}-portable.tar.gz" \
127+ "/tmp/smoke-server/codebase-memory-mcp-${OS}-${ARCH}-portable.tar.gz"
128+ fi
129+ fi
117130 cd /tmp/smoke-server
118131 sha256sum *.tar.gz > checksums.txt 2>/dev/null || shasum -a 256 *.tar.gz > checksums.txt
119132 python3 -m http.server 18080 -d /tmp/smoke-server &
You can’t perform that action at this time.
0 commit comments