Skip to content

Commit

Permalink
fix tag
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Delmas <[email protected]>
  • Loading branch information
tdelmas committed Nov 1, 2023
1 parent 7e5ad5f commit 44a6d35
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions tag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ fn main() {
println!("Use --force to force the tag");
std::process::exit(1);
}
}
}

let crate_version = get_version("./typed_floats".into());
let macros_version = get_version("./typed_floats_macros".into());
Expand Down Expand Up @@ -115,8 +115,19 @@ fn main() {

println!("Commiting Cargo.toml files...");

// Commit Cargo.toml files
std::process::Command::new("git")
.args(&[
"add",
"./typed_floats/Cargo.toml",
"./typed_floats_macros/Cargo.toml",
"./typed_floats_tests/Cargo.toml",
])
.output()
.unwrap();

std::process::Command::new("git")
.args(&["commit", "-am", &new_version])
.args(&["commit", "-m", &new_version])
.output()
.unwrap();

Expand Down

0 comments on commit 44a6d35

Please sign in to comment.