Deploying a release to Steam requires the Steam command line tool steamcmd. Authentication is performed using Multi-Factor Authentication (MFA) through Steam Guard.
For manual release to Steam:
-
Install
steamcmdon your local machine. You can either install usingbrew install steamcmdor by downloading from Valve and addingtools/ContentBuilder/builder_osx/steamcmdto your path. -
Try to login with
steamcmd +login <username> <password> +quit, which may prompt for the MFA code. If so, type in the MFA code that was emailed to the account's email address. -
Validate that the MFA process is complete by running
steamcmd +login <username> +quitagain. It should not ask for the MFA code again.
For automated release on CI (NOT ENABLED YET):
-
After running
steamcmdaconfig.vdffile will be created. The location varies depending on operating system. On macOS the file is located in~/Library/Application Support/Steam/config. -
Use
cat config.vdf | base64 > config_base64.txtto encode the file. Copy the contents ofconfig_base64.txtto the GitHub SecretSTEAM_CONFIG_VDF.
NOTE: If when running the action you recieve another MFA code via email, run steamcmd +set_steam_guard_code <code> on your local machine and repeat the config.vdf encoding and replace secret STEAM_CONFIG_VDF with its contents.
-
Run
release_to_steamcommand:$ ./scripts/build.py --version=1.4.8 release_to_steam -
Wait until command completes.
-
Set build live (see below).
-
Commit code to master
-
Wait for CI.
-
Set build live (see below).
When the build has been uploaded it needs to be set live:
-
Login to https://partner.steamgames.com
-
Open build list for Defold: https://partner.steamgames.com/apps/builds/1365760
-
Find your upload in the list and change the value in the
Set build live on branchtodefault -
Update the Steam Community page with the release notes. Create a new post with the relase notes using this link. Write something like:
Defold 1.4.1 has been released
This new version can be downloaded by opening Defold and allowing the editor to self-update.
All releases can be downloaded at: https://github.com/defold/defold/releases
Official forum thread with complete update notes: https://forum.defold.com/t/defold-1-4-1-has-been-released/72246