How environments work
When you assign a release to an environment,promote.py writes a key/value pair to that repository’s alias file in this format:
https://cdn.example.com/game/launcher/alias.jsonhttps://cdn.example.com/game/gameclient/alias.jsonhttps://cdn.example.com/game/maps/alias.json
Assign a release to an environment
Runpromote.py with the repository, the release and the environment:
--version; promote.py also accepts --release_id, --description, --latest and --source_environment.
How the launcher picks an environment
The launcher’s workflow names the repositories and the environment it syncs. See Configure the launcher to download your repositories. A QA launcher has"environment": "qa" in its macros:
"environment": "production".
If a player has access to more than one environment, you can change the environment at runtime. See Switch environments with command-line arguments.
Promote between environments
When releases in one environment pass testing, promote them with--source_environment. For example, to move the beta releases to production:

