Skip to main content
For every repository, the deployment scripts write these files to the target folder on your CDN or storage service:
  • alias.json: key/value pairs for every release you’ve promoted in the repository.
  • repositoryname.environmentname.json: the release currently assigned to that environment.
  • repositoryname.json: every environment with a release in this repository, and the release assigned to each.
  • repositoryname.history.json: every release deployed to the repository.
You control how launchers use these files, so you can build your own alias files from the information if you need to.
If you deploy with a code-signing certificate, these files are JWT-encoded. Decode them with a tool such as jwt.io to read them.

Alias file

Each entry pairs a name the launcher looks for with a release ID (the SHA1 of the release’s files), in the format repositoryname.environmentname: releaseID.
https://cdn.example.com/game/llamagame/alias.json

Environment file

Holds the release currently assigned to the environment: its ID, when it was promoted, when it was scanned (deployed) and its version.
https://cdn.example.com/game/llamagame/llamagame.stage.json

Repository file

Lists every environment with a release, with the same information as the environment file.
https://cdn.example.com/game/llamagame/llamagame.json

Repository history file

promote.py creates and updates the files above. The history file is updated after each deployment instead.
https://cdn.example.com/game/llamagame/llamagame.history.json

How the launcher uses the alias file

The launcher looks up the release for its name in the alias file. The sample skins use alias.json by default. In the workflow, macros build the name and the URL:
On Windows, the launcher looks for the release ID of mygame-win.production in https://cdn.example.com/game/mygame-win/alias.json.