From c0ff61c4b9290fdb810bd37ec77c43ee66256691 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Mon, 8 Feb 2021 16:20:42 +0200 Subject: Track remote branch on xtask promote --- xtask/src/release.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtask/src/release.rs b/xtask/src/release.rs index 2d716253e..93079b369 100644 --- a/xtask/src/release.rs +++ b/xtask/src/release.rs @@ -99,7 +99,7 @@ impl PromoteCmd { cmd!("git add src/tools/rust-analyzer").run()?; cmd!("git commit -m':arrow_up: rust-analyzer'").run()?; if !self.dry_run { - cmd!("git push").run()?; + cmd!("git push -u").run()?; cmd!("xdg-open https://github.com/matklad/rust/pull/new/{branch}?body=r%3F%20%40ghost") .run()?; } -- cgit v1.2.3