summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-03-30 09:50:30 +0300
committerLars Wirzenius <liw@liw.fi>2021-03-30 12:04:20 +0300
commit18208e85ecce606e4f530c76e83ea160f05463e1 (patch)
tree7f0a7c027379cb305a60676ed95c9b0c180dd1ba
parent2d90bc71cdcb952cc76df03031755fd62ee309c8 (diff)
downloadbumper-rs-18208e85ecce606e4f530c76e83ea160f05463e1.tar.gz
report cwd when running git tag
-rw-r--r--src/git.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/git.rs b/src/git.rs
index 76f6da1..38e99d9 100644
--- a/src/git.rs
+++ b/src/git.rs
@@ -3,6 +3,7 @@ use log::{debug, info};
use std::process::Command;
pub fn tag(version: &str) -> Result<(), BumperError> {
+ debug!("git tag in {}", std::env::current_dir().unwrap().display());
let tag_name = format!("v{}", version);
info!("Create git tag {}", tag_name);
let output = Command::new("git")