xtask: Fix git command syntax
This commit is contained in:
parent
b3c646a2b7
commit
b829c472fa
@ -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(());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user