Skip to content

Commit

Permalink
Add build number
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianEddy committed Aug 8, 2024
1 parent 526d609 commit a100b23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<u64>().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('\\', "/");
Expand Down

0 comments on commit a100b23

Please sign in to comment.