Skip to content

Commit

Permalink
Auto merge of #39546 - alexcrichton:beta-wut, r=brson
Browse files Browse the repository at this point in the history
[beta] Fix branch name Cargo's downloaded from

This was a mistake not exercised until just now!
  • Loading branch information
bors committed Feb 6, 2017
2 parents 5276ba7 + 6bd35b4 commit 2b6bd50
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -516,9 +516,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 2b6bd50

Please sign in to comment.