ci: add release step
build / version (push) Successful in 6s
build / build (aarch64-apple-darwin) (push) Successful in 5m13s
build / release (push) Canceled after 0s
build / build (x86_64-unknown-linux-musl) (push) Canceled after 2m59s

This commit is contained in:
johannes committed 2026-11-02 15:34:35 +01:00
1 parent 926bcbf978
commit ee5d8371d0
2 files changed
+62 -7

No files matched your search

+6 -1
View File
@@ -15,7 +15,12 @@ mod rpc;
use std::sync::Arc;
#[derive(Parser)]
#[command(name = "hx", version, about = "Minimal coding agent")]
#[command(
name = "hx",
// CI sets HX_VERSION to the release version; local builds use Cargo's
version = option_env!("HX_VERSION").unwrap_or(env!("CARGO_PKG_VERSION")),
about = "Minimal coding agent"
)]
struct Cli {
#[command(subcommand)]
cmd: Option<Cmd>,