Track remote branch on xtask promote

This commit is contained in:
Laurențiu Nicola 2021-02-08 16:20:42 +02:00
parent 336909b63a
commit c0ff61c4b9

View file

@ -99,7 +99,7 @@ impl PromoteCmd {
cmd!("git add src/tools/rust-analyzer").run()?;
cmd!("git commit -m':arrow_up: rust-analyzer'").run()?;
if !self.dry_run {
cmd!("git push").run()?;
cmd!("git push -u").run()?;
cmd!("xdg-open https://github.com/matklad/rust/pull/new/{branch}?body=r%3F%20%40ghost")
.run()?;
}