- 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
-
Create a new Git tag.
-
Make a Github release with the same name as the tag. Build and upload the files for each platform:
rm -rf build/
- Follow the Build Mac version natively instructions in the README.
- Zip
mv updater2.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.zip
frombuild-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.zip
andUnvanquishedUpdater.exe
frombuild-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.