Skip to main content
Glama
README.md
# shipall

**One game build, every store.** `shipall` uploads the same release to **Steam**, **itch.io** and **Xbox** from one config file. It runs from your terminal, from CI, or through an AI agent over MCP.

```text
$ shipall push --release 1.2.0
Plan: push 1.2.0
  • steam: Upload depots windows→1001, linux→1002 of app 1000 and set the build live on branch 'beta'
  • itch: Push channels windows, linux to you/my-game-beta (test page) as version 1.2.0
  • xbox: upload the windows build as an MSIXVC2 PC package with makepkg, then wait for Partner Center
          to process it, then create playtest "My Game 1.2.0" for 2w, then publish it to its audience
Upload this build to the test targets? [y/N] y
…
✓ steam: Build 12345678 is live on branch 'beta'.
✓ itch: Pushed windows, linux to you/my-game-beta.
✓ xbox: Playtest pt-1 is Live with package 4b1c….
```

It works with any engine (Unity, Unreal, Godot, your own): you point it at the folders your build exports.

> Early release (0.1). The store adapters follow each store's official documentation and are tested against fakes of `steamcmd`, `butler`, `makepkg` and the `xbox` CLI. They haven't uploaded a real build yet. Reports from your first real upload are very welcome. Not affiliated with Valve, itch.io or Microsoft.

## How a release flows

| | `shipall push` (testers) | `shipall promote` (players) |
| --- | --- | --- |
| **Steam** | Uploads every depot with `steamcmd` and sets the build live on your **beta branch** | Sets that same build live on the **default branch** through the Steamworks Web API (`SetAppBuildLive`). Steam then asks for confirmation in the Steam Mobile app. Without a Web API key, it tells you which build to set live in Steamworks. |
| **itch.io** | `butler push` to your **test page** (`test_project`), if you have one | `butler push` to your public page |
| **Xbox** | `makepkg upload` → waits until Partner Center has processed the package → creates a **playtest** with the XBOX CLI and publishes it to your audience | Not done by shipall: Xbox releases go through certification |

Nothing reaches players without an explicit `promote`. `plan` changes nothing. `push` and `promote` show the plan and ask first; in CI, you pass `--yes`.

shipall records what reached each store in `.shipall/state.json`: the Steam build ID, the Xbox package and playtest. `promote` uses it to release exactly the build you tested. If a run is interrupted, running `push` again continues where it stopped: it doesn't upload a second Xbox package or create a second playtest.

## Install

```bash
npm install -g shipall      # or run it with: npx shipall
shipall init                # writes ship.yml
shipall doctor              # checks tools, logins and build folders
```

You also need the tools of the stores you use:

- **Steam:** [steamcmd](https://developer.valvesoftware.com/wiki/SteamCMD) and a dedicated build account. Log in once interactively (`steamcmd +login <account>`) so Steam Guard is done and the login is cached.
- **itch.io:** [butler](https://itch.io/docs/butler/), with `BUTLER_API_KEY` set or after `butler login`.
- **Xbox:** `makepkg` from the Xbox GDK (October 2026 or later, Windows) and the [XBOX CLI](https://github.com/xbox/cli), signed in with `xbox auth login`.

## ship.yml

```yaml
game: My Game
version: 1.2.0            # or --release 1.2.0, or SHIPALL_VERSION

builds:                   # relative to ship.yml
  windows: builds/windows
  linux: builds/linux

stores:
  steam:
    app_id: 1000
    depots: { windows: 1001, linux: 1002 }
    beta_branch: beta

  itch:
    project: you/my-game
    test_project: you/my-game-beta     # optional restricted page for push
    # channels: { windows: win, linux: linux }   # default: the platform names

  xbox:
    store_id: 9N0000000000
    build: windows                     # or package: path/to/prebuilt.msixvc
    branch: Main
    auth: browser                      # or environment, for CI with a service principal
    playtest:
      name: "{game} {version}"
      duration: 2w
      audience_ids: ["1152921504606846976"]
```

### Credentials (environment variables)

| Variable | Used for |
| --- | --- |
| `STEAM_USERNAME` | The Steam build account |
| `STEAM_PASSWORD` | Optional. Leave it unset if you use a cached login, which is safer. When set, it's passed to steamcmd and masked in the output. |
| `STEAM_WEBAPI_KEY` | Publisher Web API key, for `promote` and `status` |
| `STEAM_CONFIRM_STEAMID` | SteamID of the account that confirms default-branch changes (required by Steam for released apps) |
| `BUTLER_API_KEY` | itch.io |
| `SHIPALL_STEAMCMD`, `SHIPALL_BUTLER`, `SHIPALL_MAKEPKG`, `SHIPALL_XBOX` | Paths to the tools, if they aren't on PATH |

## Commands

```text
shipall init                  write a sample ship.yml
shipall doctor                check tools, logins and build folders
shipall plan [push|promote]   what would happen; changes nothing
shipall push                  upload to test targets
shipall promote               release the pushed build to players
shipall status                local state and what the stores report
shipall mcp                   MCP server for AI agents

--release <v>  --only steam,itch  --config <file>  --yes  --json
```

Exit codes: `0` done, `1` a store failed, `2` usage or config error, `3` **a change's outcome is unknown**. On exit code 3, check the store before retrying.

## GitHub Actions

```yaml
- uses: zydziupolska-cmyk/shipall@v0.1
  with:
    command: push
    release: ${{ github.ref_name }}
  env:
    STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }}
    BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }}
```

Install the store tools in earlier steps. To let `promote` run in a later workflow, commit `.shipall/state.json`, or pass it along as an artifact. Keep `.shipall/steam/` out of git.

## AI agents (MCP)

```bash
claude mcp add shipall -- npx -y shipall mcp                              # read-only: doctor, plan, status
claude mcp add shipall -e SHIPALL_MCP_MODE=push -- npx -y shipall mcp     # + push to test targets
claude mcp add shipall -e SHIPALL_MCP_MODE=release -- npx -y shipall mcp  # + promote
```

Run it from the folder that has `ship.yml`. Agents are told to show you the plan and get your approval before a push or promote. `promote` is marked destructive, so your MCP client asks you before it runs.

For deeper Xbox work, such as Partner Center, XBOX services or PlayFab, pair it with [xbox-cli-mcp](https://github.com/zydziupolska-cmyk/xbox-cli-mcp).

## Roadmap

Epic Games Store (BuildPatchTool) and GOG (Pipeline Builder) are next. Open an issue for the store you need.

## License

MIT © Krystian Żydanowicz (Dynomic.pro)

TDQS

A4.4/5.0

Scored across 6 tools

Disambiguation5/5

Each tool has a clearly distinct role: init scaffolds config, doctor validates prerequisites, plan is a read-only dry run, status is read-only reporting, push is an actual test-target upload, and promote is a public release. The only potential confusion is plan vs push/promote, but the descriptions explicitly frame plan as a no-op preview, which resolves it.

Naming Consistency4/5

All names share the shipall_ prefix and a uniform lowercase style, which is highly predictable. However, the suffixes mix verbs (init, plan, push, promote) with nouns (doctor, status), a minor deviation from a strict verb pattern.

Tool Count5/5

Six tools is well-scoped for a multi-store shipping pipeline: config, validation, preview, reporting, test push, and public promote each earn their place. Nothing is redundant and nothing feels padded.

Completeness4/5

The lifecycle is largely covered: setup, validation, preview, push, status, and promotion, with rollback handled by re-promoting an earlier release. Minor gaps exist, such as no way to edit ship.yml after init, no explicit release listing to choose a rollback target, and no abort/unpublish operation.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues