docs/releasing_openttd.md
This guide is for OpenTTD developers/maintainers, to release a new version of OpenTTD.
If this is a beta version release, skip this step.
If this is an RC1 (first Release Candidate) build, create a new branch release/nn where nn is the major version number, then apply changes similar to PR#9573. You also need to forwardport the changelog, as in PR#10113.
CMakeLists.txt in the master branch, heading for the next major release, e.g. from 14.0 to 15.0.ApiVersions in src/ai/ai_info.hpp and src/game/game_info.hpp.src/script/api/ai_changelog.hpp and src/script/api/game_changelog.hpp.bin/ai/regression/regression_info.nut.bin/ai/ and bin/game/ for the version of the branch.src/saveload/saveload.h about which savegame version is used in the branch.If this is a later RC or release build and the release branch already exists, you'll need to backport fixes and language from master to this branch, which were merged after the branch diverged from master. You can use these two helper scripts: https://github.com/OpenTTD/scripts/tree/main/backport
If this is a maintenance release, update the version in CMakeLists.txt in the release branch, e.g. from 14.0 to 14.1.
Feature > Add > Change > Fix, then numerically by PR number.CMakeLists.txt matches the intended release version.Steam: under Steamworks -> SteamPipe -> Builds, set the "testing" branch live on the "default" branch. This will request 2FA validation.GOG: under Builds, "Publish" the freshly uploaded builds to Master, GOG-use only and Testing.Microsoft Store: ask orudge to publish the new release.Access to Steam, GOG and/or Microsoft Store requires a developer account on that platform.
You will need access to the shared keystore in order to create such an account.
For help and/or access to either or both, please contact TrueBrain.