mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 05:08:52 +00:00
Set upstream branch when promoting
This commit is contained in:
parent
bc37d9a29a
commit
be8d40a13e
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ impl flags::Promote {
|
||||||
cmd!("git add src/tools/rust-analyzer").run()?;
|
cmd!("git add src/tools/rust-analyzer").run()?;
|
||||||
cmd!("git commit -m':arrow_up: rust-analyzer'").run()?;
|
cmd!("git commit -m':arrow_up: rust-analyzer'").run()?;
|
||||||
if !self.dry_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")
|
cmd!("xdg-open https://github.com/matklad/rust/pull/new/{branch}?body=r%3F%20%40ghost")
|
||||||
.run()?;
|
.run()?;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue