Skip to content

Commit

Permalink
Rollup merge of rust-lang#39599 - alexcrichton:cargo-tarball-name, r=…
Browse files Browse the repository at this point in the history
…brson

Fix a manifest-generation bug on beta

Right now all Cargo release tarballs are 'nightly', they're not on the standard
channels yet.
  • Loading branch information
frewsxcv committed Feb 7, 2017
2 parents 985b050 + bf126d2 commit 35ec4ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tools/build-manifest/src/main.rs
Expand Up @@ -317,6 +317,8 @@ impl Builder {
fn filename(&self, component: &str, target: &str) -> String {
if component == "rust-src" {
format!("rust-src-{}.tar.gz", self.channel)
} else if component == "cargo" {
format!("cargo-nightly-{}.tar.gz", target)
} else {
format!("{}-{}-{}.tar.gz", component, self.channel, target)
}
Expand Down

0 comments on commit 35ec4ba

Please sign in to comment.