Skip to content

Commit 9a447c0

Browse files
committed
Use the release branch in xtask promote
1 parent 1c03f45 commit 9a447c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xtask/src/release.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ impl flags::Promote {
8181
let date = date_iso(sh)?;
8282
let branch = format!("rust-analyzer-{date}");
8383
cmd!(sh, "git switch -c {branch}").run()?;
84-
cmd!(sh, "git subtree pull -P src/tools/rust-analyzer rust-analyzer master").run()?;
84+
cmd!(sh, "git subtree pull -m ':arrow_up: rust-analyzer' -P src/tools/rust-analyzer rust-analyzer release").run()?;
8585

8686
if !self.dry_run {
8787
cmd!(sh, "git push -u origin {branch}").run()?;

0 commit comments

Comments
 (0)