Commit Graph
1 Commits
Author SHA1 Message Date
Matt SpencerandCopilot bf031b55b7 ci: publish a release for every commit to main
release / release (push) Successful in 3m2s
Add a Gitea Actions workflow that builds the firmware and publishes a
release whenever main changes.

The version is MAJOR.MINOR from the version in Cargo.toml plus the number of
commits on main as the patch number, so it only ever goes up and can be worked
out again from any commit. The workflow stamps it into Cargo.toml for the
build, which puts it in the app descriptor, and the firmware now logs it at
boot. The release is tagged v plus the version.

Each release carries a full image (bootloader, partition table and
application, stopping short of the storage partition so flashing it keeps the
Zigbee network), the application image alone, the unstripped build for
backtraces, and checksums.

The submodule is declared with an SSH address, so the workflow rewrites it to
HTTPS for the runner, which has no key. The README documents the scheme.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-29 01:04:33 +00:00