Skip to content

Commit

Permalink
Fix branch name Cargo's downloaded from
Browse files Browse the repository at this point in the history
This landed on beta in #39546 and this is bringing the patch back to master.
  • Loading branch information
alexcrichton committed Feb 6, 2017
1 parent 324b175 commit 19bbd85
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/bootstrap/dist.rs
Expand Up @@ -517,9 +517,7 @@ pub fn cargo(build: &Build, stage: u32, target: &str) {

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

Expand Down

0 comments on commit 19bbd85

Please sign in to comment.