Skip to content

Commit a02b042

Browse files
committed
Auto merge of #12930 - lnicola:subtree-branch, r=lnicola
minor: Use the release branch in xtask promote
2 parents 1c03f45 + 9a447c0 commit a02b042

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)