feat: add build version with timestamp

- Add build.rs to generate BUILD_VERSION at compile time
- Update CLI to show full version: '0.1.0 (build: 2026-03-31 11:21:37)'
- Update health endpoints to return build version
- Add chrono as build dependency
This commit is contained in:
Warren
2026-03-31 11:30:50 +08:00
parent 37d2b66c56
commit 576f58df71
5 changed files with 152 additions and 10 deletions

View File

@@ -625,6 +625,7 @@ async fn process_caption_module(
#[derive(Parser)]
#[command(name = "momentry")]
#[command(about = "Digital asset management system with video analysis and RAG")]
#[command(version = env!("BUILD_VERSION"))]
struct Cli {
#[command(subcommand)]
command: Commands,