From a100b233a1df242d5bf1be06df2888a5852febf3 Mon Sep 17 00:00:00 2001 From: AdrianEddy Date: Thu, 8 Aug 2024 13:36:50 +0200 Subject: [PATCH] Add build number --- compress.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compress.rs b/compress.rs index 28b3058a..cf4aa3f7 100644 --- a/compress.rs +++ b/compress.rs @@ -14,6 +14,7 @@ fn main() { println!("Current dir: {pwd}"); let binary_path = format!("{pwd}/profiles.cbor.gz"); let mut all_profiles = Vec::new(); + all_profiles.push(("__version".to_owned(), serde_json::Value::Number(env!("GITHUB_RUN_NUMBER").parse::().unwrap().into()))); walkdir::WalkDir::new(&pwd).into_iter().for_each(|e| { if let Ok(entry) = e { let f_name = entry.path().to_string_lossy().replace('\\', "/");