- News REST endpoint which returns links to Wordpress articles on unvanquished.net. The featured image in each news article must be a type which is supported by the updater (see issue #51). Currently PNG and JPEG are known to work.
- versions.json file on unvanquished.net, used to determine whether update is needed
- Github releases. These are targeted by download links on unvanquished.net and by the updater's self-update process.
- Torrent URL used to download the latest game version
-
Make a commit updating the version string in
updaterAppVersion()insplashcontroller.h. -
Create a new Git tag matching the version string.
-
Make a Github release with the same name as the tag/version string. Build and upload the files for each platform:
rm -rf build/- Follow the Build Mac version natively instructions in the README.
- Zip
mv updater.app 'Unvanquished Updater.app' zip -r UnvUpdaterOSX.zip 'Unvanquished Updater.app' - Upload
UnvUpdaterOSX.zip.
- Build with Docker and extract files:
docker build -t unvlauncher-linux . --build-arg=release=1 docker run -v `pwd`/build-docker:/build-docker -u `id -u $USER` unvlauncher-linux - Upload
UnvUpdaterLinux.zipfrombuild-docker/.
- Build with Docker and extract files:
docker build -t unvlauncher-win -f Dockerfile.win . --build-arg=release=1 docker create --name unvlauncher-win unvlauncher-win docker cp unvlauncher-win:/release-win ./build-docker docker rm unvlauncher-win - Upload
UnvUpdaterWin.zipandUnvanquishedUpdater.exefrombuild-docker/release-win/.
-
Bump the updater version on unvanquished.net to the new tag, so that it is reflected in versions.json and the download links.