Set upstream branch when promoting
This commit is contained in:
parent
bc37d9a29a
commit
be8d40a13e
@ -76,7 +76,7 @@ pub(crate) fn run(self) -> Result<()> {
|
||||
cmd!("git add src/tools/rust-analyzer").run()?;
|
||||
cmd!("git commit -m':arrow_up: rust-analyzer'").run()?;
|
||||
if !self.dry_run {
|
||||
cmd!("git push -u").run()?;
|
||||
cmd!("git push -u origin {branch}").run()?;
|
||||
cmd!("xdg-open https://github.com/matklad/rust/pull/new/{branch}?body=r%3F%20%40ghost")
|
||||
.run()?;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user