xtask: Fix git command syntax

This commit is contained in:
Jonas Platte 2021-04-17 19:37:57 +02:00
parent b3c646a2b7
commit b829c472fa
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -157,7 +157,7 @@ impl ReleaseTask {
println!("Pushing to remote repository…");
if cmd!("git ls-remote --tags {remote} {tag}").read()?.is_empty() {
cmd!("git push {remote} {branch},{tag}").run()?;
cmd!("git push {remote} {branch} {tag}").run()?;
} else if !ask_yes_no("This tag has already been pushed. Skip this step and continue?")? {
return Ok(());
}