diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-02-04 16:53:17 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-02-06 13:29:03 -0800 |
| commit | 19bbd855ef73c28b381fd98553aedb0a7423efc4 (patch) | |
| tree | 5a5d44e3cf40e053f76f4d7bd4b97c88ba757dc1 /src | |
| parent | 324b175174c19b8be4592df11e65e0c4b6fee9d3 (diff) | |
| download | rust-19bbd855ef73c28b381fd98553aedb0a7423efc4.tar.gz rust-19bbd855ef73c28b381fd98553aedb0a7423efc4.zip | |
Fix branch name Cargo's downloaded from
This landed on beta in #39546 and this is bringing the patch back to master.
Diffstat (limited to 'src')
| -rw-r--r-- | src/bootstrap/dist.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs index 9327cc0cf7f..9878d1c08ba 100644 --- a/src/bootstrap/dist.rs +++ b/src/bootstrap/dist.rs @@ -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(), }; |
