TExcelTAD
Home › Assets, Tools & Shipping › Toolkit: Build & Release Tools

Toolkit: Build & Release Tools

The tools between "the game runs in the editor" and "players have it", grouped by stage. Most were introduced in earlier lessons; this page is the overview to come back to.

Version control

Tool Notes
Git + Git LFS default for indies; hosts: GitHub, GitLab, Bitbucket, Azure DevOps (each meters LFS differently) (Git LFS & .gitattributes)
Perforce P4 (formerly Helix Core) big binary repositories and exclusive locks; Unreal's default (Perforce & Unity Version Control)
Unity Version Control Unity's centralized/distributed VCS with Gluon for artists
GUI clients GitHub Desktop, Fork, GitKraken, SourceTree; P4V for Perforce

Build and CI

Tool Notes
GitHub Actions, GitLab CI, Jenkins, TeamCity, Buildkite general CI runners
GameCI Unity actions and Docker images: unity-builder, unity-test-runner (GitHub Actions & GameCI)
Unity Build Automation Unity's hosted build service (formerly Cloud Build), usage-based pricing
Horde, UnrealGameSync Epic's build/automation system and the tool that syncs prebuilt editors to artists
Godot CLI --headless --export-release; community Docker images bundle Godot and templates for CI
Blender CLI blender --background … --python for asset export steps (Automating Blender with bpy)

Distribution

Tool Store
butler itch.io: butler push dir user/game:channel (Publishing on itch.io)
steamcmd + ContentBuilder Steam: +run_app_build with a VDF build script (Steam: Steamworks & SteamPipe)
bundletool, Play Console, Gradle Play Publisher Google Play App Bundles (Google Play & the App Store)
Xcode, App Store Connect API, Transporter Apple uploads and TestFlight
fastlane automates iOS and Android signing, screenshots and uploads
Steam Playtest, TestFlight, Play testing tracks, itch.io restricted pages getting builds to testers

After release

Tool Notes
Sentry, Backtrace, Unity Diagnostics, store vitals crash reporting (Crash Reporting)
Steamworks SDK wrappers: Steamworks.NET, Facepunch.Steamworks, Online Subsystem Steam, GodotSteam achievements, cloud saves, stats
release-please, git-cliff, semantic-release changelogs and version bumps from commits (Changelogs from Commits)
OBS, ShareX, ffmpeg, Unity Recorder, Movie Render Queue, Godot Movie Maker capture and trailers

A runnable model: ordering the release pipeline

A release pipeline is a set of steps with dependencies: you can't upload before building, and you shouldn't build before validating assets. Writing those dependencies down and letting a topological sort order them makes the pipeline easy to extend without breaking it:

python · try it yourself
from graphlib import TopologicalSorter

steps = {
    "validate assets": set(),
    "run tests": set(),
    "bump version + changelog": {"run tests"},
    "build windows": {"validate assets", "bump version + changelog"},
    "build web": {"validate assets", "bump version + changelog"},
    "check store assets": set(),
    "smoke test builds": {"build windows", "build web"},
    "upload symbols": {"build windows"},
    "push to itch.io": {"smoke test builds", "check store assets"},
    "push to Steam beta": {"smoke test builds", "upload symbols"},
    "announce": {"push to itch.io", "push to Steam beta"},
}

ts = TopologicalSorter(steps)
ts.prepare()
stage = 1
while ts.is_active():
    ready = sorted(ts.get_ready())
    print(f"stage {stage}: " + " | ".join(ready))
    ts.done(*ready)
    stage += 1
stage 1: check store assets | run tests | validate assets
stage 2: bump version + changelog
stage 3: build web | build windows
stage 4: smoke test builds | upload symbols
stage 5: push to Steam beta | push to itch.io
stage 6: announce

Steps in the same stage can run in parallel (separate CI jobs); the stage count is the minimum number of sequential waits. CI systems express the same thing with needs: (GitHub Actions) or dependencies (other runners).

Test yourself

Which tool uploads builds to itch.io from the command line?

  1. steamcmd
  2. butler
  3. bundletool
  4. fastlane

What does a topological sort give you for a pipeline?

  1. The fastest machine
  2. An order of steps that respects every dependency, grouping steps that can run in parallel
  3. Random order
  4. Build sizes

What is UnrealGameSync used for?

  1. Uploading to Steam
  2. Syncing source and precompiled editor binaries so artists don't have to compile
  3. Crash reporting
  4. Texture compression