about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-11-22 12:42:03 +0000
committerGitHub <noreply@github.com>2021-11-22 12:42:03 +0000
commita37f613f32c32d16e8e339224103fa2723339644 (patch)
tree8e908fd128e2da4c4f43ecf73a2777e7381dc1f5
parentbc37d9a29a50bb8164651ec90d89d1742d153f09 (diff)
parentbe8d40a13e010eed5b09cc0aeb7d174fee7c9f4e (diff)
downloadrust-a37f613f32c32d16e8e339224103fa2723339644.tar.gz
rust-a37f613f32c32d16e8e339224103fa2723339644.zip
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 <jonasschievink@gmail.com>
-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 d0ddf27b4df..f4c5a512d50 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()?;
         }