Skip to content

Commit 2b6bd50

Browse files
committed
Auto merge of #39546 - alexcrichton:beta-wut, r=brson
[beta] Fix branch name Cargo's downloaded from This was a mistake not exercised until just now!
2 parents 5276ba7 + 6bd35b4 commit 2b6bd50

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/bootstrap/dist.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -516,9 +516,7 @@ pub fn cargo(build: &Build, stage: u32, target: &str) {
516516

517517
let branch = match &build.config.channel[..] {
518518
"stable" |
519-
"beta" => {
520-
build.release.split(".").take(2).collect::<Vec<_>>().join(".")
521-
}
519+
"beta" => format!("rust-{}", build.release_num),
522520
_ => "master".to_string(),
523521
};
524522

0 commit comments

Comments
 (0)