Unnamed repository; edit this file 'description' to name the repository.
Use the release branch in xtask promote
Laurențiu Nicola 2022-08-03
parent 1c03f45 · commit 9a447c0
-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 17ada51564..eda8fceef0 100644
--- a/xtask/src/release.rs
+++ b/xtask/src/release.rs
@@ -81,7 +81,7 @@ impl flags::Promote {
let date = date_iso(sh)?;
let branch = format!("rust-analyzer-{date}");
cmd!(sh, "git switch -c {branch}").run()?;
- cmd!(sh, "git subtree pull -P src/tools/rust-analyzer rust-analyzer master").run()?;
+ cmd!(sh, "git subtree pull -m ':arrow_up: rust-analyzer' -P src/tools/rust-analyzer rust-analyzer release").run()?;
if !self.dry_run {
cmd!(sh, "git push -u origin {branch}").run()?;