Skip to content

Commit

Permalink
chore(releasing): Fix tag detection
Browse files Browse the repository at this point in the history
Signed-off-by: Jesse Szwedko <[email protected]>
  • Loading branch information
jszwedko committed Feb 27, 2023
1 parent 77a872c commit b8b0198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vdev/src/commands/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ impl Cli {
let error = String::from_utf8_lossy(&head.stderr);
bail!("Error running `git describe`:\n{error}");
}
let tag = String::from_utf8_lossy(&head.stdout);
let tag = String::from_utf8_lossy(&head.stdout).trim().to_string();
if tag != format!("v{version}") {
bail!("On latest release channel and tag {tag:?} is different from Cargo.toml {version:?}. Aborting");
}
Expand Down

0 comments on commit b8b0198

Please sign in to comment.