Skip to content

Commit

Permalink
fix: create target/release dir, if it doesn't exist
Browse files Browse the repository at this point in the history
Closes #819
  • Loading branch information
Saghen committed Dec 29, 2024
1 parent e524347 commit 4020c23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ fn main() {
let sha = String::from_utf8(output.stdout).unwrap();

// write to version
std::fs::create_dir_all("target/release").unwrap();
std::fs::write("target/release/version", sha.trim()).unwrap();
}

0 comments on commit 4020c23

Please sign in to comment.