Unnamed repository; edit this file 'description' to name the repository.
Merge #10833
10833: internal: set upstream branch when promoting r=jonas-schievink a=jonas-schievink Fixes https://github.com/rust-analyzer/rust-analyzer/issues/10830 bors r+ Co-authored-by: Jonas Schievink <[email protected]>
bors[bot] 2021-11-22
parent bc37d9a · parent be8d40a · commit a37f613
-rw-r--r--xtask/src/release.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/release.rs b/xtask/src/release.rs
index d0ddf27b4d..f4c5a512d5 100644
--- a/xtask/src/release.rs
+++ b/xtask/src/release.rs
@@ -76,7 +76,7 @@ impl flags::Promote {
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()?;
}