From 18208e85ecce606e4f530c76e83ea160f05463e1 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 30 Mar 2021 09:50:30 +0300 Subject: report cwd when running git tag --- src/git.rs | 1 + 1 file changed, 1 insertion(+) 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") -- cgit v1.2.1