Releasing¶
The kikx CLI is released from a git tag. Pushing a tag that matches v*.*.* runs .github/workflows/release.yml.
What the workflow does¶
Checks that the tag, without its
v, matches theversionincli/Cargo.toml. A mismatch stops the release.Runs
cargo testinbackend/coreandcli.Builds the CLI in release mode for every platform and publishes the archives on a GitHub Release.
Platform |
Target |
Asset |
|---|---|---|
macOS, Apple silicon |
|
|
macOS, Intel |
|
|
Linux, x64 |
|
|
Linux, arm64 |
|
|
Windows, x64 |
|
|
Each archive holds the kikx binary (kikx.exe on Windows) and README.md.
Cut a release¶
Set the new version in cli/Cargo.toml, then commit, tag and push:
git commit -am "chore: release v0.2.0"
git tag v0.2.0
git push && git push --tags