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 authored Feb 9, 2017
2 parents a7017b5 + bf126d2 commit 9f2795f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tools/build-manifest/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,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 9f2795f

Please sign in to comment.