Publishing builds¶
Uploading¶
gc-cli publish-native <folder> [--exe=Game.exe] [--title="My Game"] [--note="What changed"] [--set-live=<branch>]<folder>is the game as players would run it;--exeits start file.- Only the parts that changed are uploaded (the files are cut into chunks, and known chunks are skipped).
- Each upload is a new build with a number and its note.
Checks on every build¶
Every build is checked before players get it: that it starts from its exe, holds no DRM or anything that phones home to sign in, and matches its content survey. A build that fails gets the reason.
Going live¶
- A game not yet released: each upload goes live on the default branch by itself.
- A released game: an upload waits until you set it live, with your two-factor code:
gc-cli builds <ident> # the game's builds gc-cli set-live <ident> <build> [--branch=default] - Rolling back is setting an older build live.
- The last 10 builds are kept.
Branches¶
A branch is another line of builds players can pick in the game's properties: a beta, an older version, a test for friends.
gc-cli branch <ident> beta --description="Next update" [--password=secret]
gc-cli branch <ident> beta --deleteWith a password, only players who know it can pick the branch.
Teams and build machines¶
- Add people to the game's team on the developer pages, each with what they may do.
- A build token (Builds › Build tokens; up to 10 a game) lets a build machine upload without your login: set
GC_BUILD_TOKENand runpublish-nativeas usual. A token uploads only its game, can set builds live only on its beta branch (never default), and stops working when its maker leaves the team.
Taken down¶
Games Communities can pull a build that breaks the rules or harms players; you get the reason, and the last good build goes back live.
Game status from your game¶
A running game can say what the player is doing ("In the forest, level 3") through the app's game-status pipe, which
speaks Discord's Rich Presence format on its own pipe (gc-ipc-0): a Rich Presence library pointed at that
pipe works. Friends see it when the
player lets their games share it. gc-cli game-status "text" acts as a game, to try it.