Fix a manifest-generation bug on beta
Right now all Cargo release tarballs are 'nightly', they're not on the standard channels yet.
This commit is contained in:
parent
324b175174
commit
bf126d244e
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue