Skip to content

Commit

Permalink
Fix xtask bump generating invalid version
Browse files Browse the repository at this point in the history
  • Loading branch information
zmerp committed Sep 26, 2022
1 parent 43b8776 commit 86e2c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alvr/xtask/src/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub fn split_string(source: &str, start_pattern: &str, end: char) -> (String, St
}

pub fn version() -> String {
let manifest_path = afs::crate_dir("common").join("Cargo.toml");
let manifest_path = afs::workspace_dir().join("Cargo.toml");
println!("cargo:rerun-if-changed={}", manifest_path.to_string_lossy());

let manifest = fs::read_to_string(manifest_path).unwrap();
Expand Down

0 comments on commit 86e2c54

Please sign in to comment.