Skip to content

Commit

Permalink
perf: log repo url and tag on push tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mstrk committed Sep 12, 2023
1 parent 5e3f208 commit 9203bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ impl Git {
// check if push was successful
if !output.status.success() {
self.undo_tag(tag)?;
bail!(format!("failed to push tag: {}", String::from_utf8_lossy(&output.stderr)));
bail!(format!("failed to push tag: {} {}\n{}", tag, &self.repo_url.as_str(), String::from_utf8_lossy(&output.stderr)));
}

Ok(())
Expand Down

0 comments on commit 9203bd6

Please sign in to comment.