Releasing libloot
Prepare
- Update the version numbers by running python scripts/set_version_number.py <version>.
- Make sure that the version histories in docs/api/changelog.rstanddocs/metadata/changelog.rstare up to date for the new release and that its release date is set.
Release
- Tag the commit and push the tag to GitHub.
- Activate the tag's documentation version on Read The Docs if it is not automatically activated.
Releasing LOOT
Prepare
- Update the version numbers by running python scripts/set_version_number.py <version>.
- Make sure that the version history in docs/app/changelog.rstis up to date for the new release and that its release date is set.
- Add the release to the <releases> element in resources/linux/io.github.loot.loot.metainfo.xml.
If the new release makes metadata syntax changes:
- Run lomad using lomad -t <github personal access token> -a -b <branch name>to (for all masterlists) create a branch for that release.
- Update the default masterlist branch value and add the old value to GameSettings::oldDefaultBranchesinsrc/gui/state/game/game_settings.cpp.
- Update the Repository branch setting in the Version control tab of the settings page for the LOOT masterlist prelude on Weblate.
Release
- Tag the commit and push the tag to GitHub.
- Once the tag's GitHub Actions release workflow has completed, publish the draft release that it created.
- Activate the tag's documentation version on Read The Docs if it is not automatically activated.
Update Flathub
- Update io.github.loot.loot.ymlin theflathub/io.github.loot.lootGitHub repository to match theresources/linux/io.github.loot.loot.ymlfile in theloot/lootGitHub repository, except that the LOOT release archive should be downloaded from the LOOT release published on GitHub.
- Open a pull request to merge the changes into the masterbranch, and merge it.
See the Flathub documentation for details on how Flathub builds and publishes changes.
Port Metadata
Be sure to merge post-branching metadata changes that were made in the masterlists' old default branches into the new default branches.
