autoupdates

Autoupdates

Release channels

Each .json file is a ‘release channel’:

The preview channel usually should point at the latest release, regardless of if it’s a prerelease or not; the stable channel should usually point at the latest stable release.

Purpose

This decouples actually making releases from the autoupdates; in particular, this allows:

Format

These files are in the same format as https://api.github.com/repos/OpenKneeboard/OpenKneeboard/releases, documented at https://docs.github.com/en/rest/releases

Generation

The files can be manually modified, but generation is usually desired:

  1. Install PowerShell 6 or above (e.g. from the Microsoft Store)
  2. run generate.ps1
  3. check git status and git diff to check the changes
  4. you may wish to revert stable.json to push a new release only to the prerelease channel