Checklist for making a new release.

Tag the release:

 - Set release date in Changelog
 - Make sure correct version number is set in root CMakeLists.txt
 - Run `desktop/update-appdata-releases.py` and edit manually if needed
 - Commit
 - Make sure Linux, Windows and macOS builds succeed
 - Make sure tests run cleanly (cmake .. -DTESTS=ON && make && make test)
 - Tag release (git tag -a x.y.z -m "Release x.y.z")
 - Push new tag (git push --tags)

Build the packages:

 - Build macOS version (pkg/mac/make-mac-dmg.sh) and copy the DMG file to `desktop/artifacts/`
 - Build Windows version (pkg/win/build.sh release)
 - Build 32 bit Windows version
 - Make source package (pkg/make-src-pkg.sh x.y.z)
 - Re-run `update-appdata-releases.py` to set artifact URLs
 - Run `desktop/artifacts/upload.sh x.y.z` to upload the files
 - Build new server docker image: (in pkg/docker)
   - docker build -t drawpile/drawpile-srv:x.y.z -t drawpile/drawpile-srv:x.y --build-arg=version=x.y.z .
   - docker push drawpile/drawpile-srv:x.y.z
   - docker push drawpile/drawpile-srv:x.y
 - Update Flathub repository (github.com/flathub/net.drawpile.drawpile)

Update the website:

 - Write a news post for the new release
 - Run manage.py templatevar VERSION x.y.z
 - Update templates/pages/help/compatibility.html if needed

