Release¶
Version¶
Cargo.toml carries the version. Bump it for every release; a version is never reused.
Checklist¶
- Bump
versioninCargo.toml. - Add a
CHANGELOG.mdentry. - Update the docs that name the version.
- Run the gates:
- Tag and push:
- Create a GitHub release for the tag. Publishing it starts two workflows:
.github/workflows/host-release.ymlattaches the Linux host binarymibpkg-host-linux-x86_64, and.github/workflows/card-release.ymlbuilds the signed SD card on the self-hosted runner and attachesmibpkg-sd-<version>.zip. See CI runner.
To build a card on your own machine instead, run scripts/build.sh and then
scripts/bundle.sh --signed-header /path/to/header.txt.
Docs¶
The docs workflow publishes the site to gh-pages on a push to main or a v* tag. GitHub Pages must
serve the gh-pages branch.
Official collection¶
The official packages are published separately:
This releases complex256/mibpkg-packages and verifies the index.
The action¶
action.yml downloads the host binary from the mibpkg release. A release must exist before
complex256/mibpkg@v1 can be used by another repository.