fix(cli): evaluate CARGO_PKG_VERSION in parse_ostp_link to prevent false migrations

This commit is contained in:
ospab 2026-06-19 19:24:37 +03:00
parent fc339b3643
commit 76bf1c9a98
1 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ fn parse_ostp_link(link: &str) -> Result<serde_json::Value> {
}
Ok(serde_json::json!({
"version": "{}",
"version": env!("CARGO_PKG_VERSION"),
"log": {
"level": "info"
},
@ -709,7 +709,7 @@ fn run_setup_wizard(config_path: &std::path::Path) -> Result<()> {
let client_json = serde_json::json!({
"mode": "client",
"version": "{}",
"version": env!("CARGO_PKG_VERSION"),
"log": {
"level": "info"
},