release / release (push) Successful in 1m39s
Add tools/install_release.py, a host script that takes a release from Gitea and puts it on a board over USB the way an update would: it downloads the release's application image and checks it against the release checksums, writes it to the slot that is not running, and rewrites otadata to select that slot as a new image before resetting the board. It reads the board's own partition table and slot selection rather than assuming a layout, refuses a board without the A/B partition table, and writes nothing until the image has been downloaded and verified. A dry run shows what it would do. This lets the A/B slots be tested with real releases while there is no over-the-air update source. The README documents it, and the full image's install steps now clear the slot selection, so that a board which had switched to the second slot runs the image just written. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>