about summary refs log tree commit diff
path: root/xtask/src
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2021-11-22 13:39:07 +0100
committerJonas Schievink <jonasschievink@gmail.com>2021-11-22 13:39:07 +0100
commitbe8d40a13e010eed5b09cc0aeb7d174fee7c9f4e (patch)
tree8e908fd128e2da4c4f43ecf73a2777e7381dc1f5 /xtask/src
parentbc37d9a29a50bb8164651ec90d89d1742d153f09 (diff)
downloadrust-be8d40a13e010eed5b09cc0aeb7d174fee7c9f4e.tar.gz
rust-be8d40a13e010eed5b09cc0aeb7d174fee7c9f4e.zip
Set upstream branch when promoting
Diffstat (limited to 'xtask/src')
-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()?;
         }