chore(release): 0.1.0 #6

Merged
kjuulh merged 9 commits from cuddle-please/release into main 2023-08-01 22:54:26 +02:00
Showing only changes of commit daf0fc8839 - Show all commits

View File

@ -52,9 +52,19 @@ impl VcsClient {
fn exec_git(&self, args: &[&str]) -> anyhow::Result<()> { fn exec_git(&self, args: &[&str]) -> anyhow::Result<()> {
match self { match self {
VcsClient::Noop {} => {} VcsClient::Noop {} => {}
VcsClient::Git { source, .. } => { VcsClient::Git {
source,
username,
email,
} => {
let checkout_branch = std::process::Command::new("git") let checkout_branch = std::process::Command::new("git")
.current_dir(source.as_path()) .current_dir(source.as_path())
.args(&[
"-c",
&format!("user.name={}", username),
"-c",
&format!("user.email={}", email),
])
.args(args) .args(args)
.output()?; .output()?;