Windows builds and moved credentials: play build runs gradlew.bat through cmd /c and takes C:/ keystore paths as absolute (pitfall 98); check names credential paths missing on this machine and a keystore the stored password / alias do not open (keytool) (pitfall 99); play / apple build write <out>/latest.json for CI; CI install from a git clone documented

This commit is contained in:
CRTkafa 2026-10-22 02:10:52 +08:00
parent 4fcee60ba6
commit 73d308164d
9 changed files with 95 additions and 9 deletions

View file

@ -152,6 +152,12 @@ plain Markdown and the CLI is a normal command.
and `--command "<cmd>"` to choose how the MCP server starts. It only adds or updates the `storebound` entry and its
own skill folders; everything else in those files stays as it is, and re-running it is safe.
**CI servers (Jenkins, Forgejo / GitHub Actions):** use the npm package (`npx -y storebound@<version>` or
`bunx storebound@<version>`). From a git clone there is no `dist/` (it is built only for npm), so `node dist/storebound.mjs`
fails: run `bun install` in the clone and call `bin/storebound` (Bun runs `cli/index.ts`), e.g. symlink it onto PATH.
`storebound play build` and `apple build` write `<out>/latest.json` (`aab` / `ipa` path, ids, version): read it instead of
globbing the output folder (or pass `--json`).
**Windows:** an MCP client cannot start `npx` directly (it is `npx.cmd`). `install` writes the working form for you;
by hand use `"command": "cmd", "args": ["/c", "npx", "-y", "storebound@<version>", "mcp"]` (or `bunx storebound mcp`
with Bun). If the server shows "connection closed", check this first ([pitfall 94](../skills/store-pitfalls/SKILL.md)).