feat(server): change semantic versioning to dynamic build date (yyyy.mm.dd)

This commit is contained in:
Riz Ashraf committed 2026-09-12 09:29:46 +01:00
1 parent 1f050b60b6
commit 44800d4ef2
4 files changed
+115 -1

No files matched your search

+1 -1
View File
@@ -245,7 +245,7 @@ fn run_server(state: Arc<MemoryState>) -> Result<(), Box<dyn std::error::Error>>
let app = Router::new()
.route("/api/version", get(|| async move {
axum::Json(serde_json::json!({
"version": env!("CARGO_PKG_VERSION"),
"version": env!("BUILD_DATE"),
"git_hash": option_env!("GIT_HASH").unwrap_or("unknown")
}))
}))