Merge branch 'beta-prerelease' of https://github.com/cuviper/rust into rollup
This commit is contained in:
commit
b741d7d7ac
1 changed files with 5 additions and 1 deletions
|
|
@ -771,7 +771,11 @@ impl Build {
|
|||
fn release(&self, num: &str) -> String {
|
||||
match &self.config.channel[..] {
|
||||
"stable" => num.to_string(),
|
||||
"beta" => format!("{}-beta.{}", num, self.beta_prerelease_version()),
|
||||
"beta" => if self.rust_info.is_git() {
|
||||
format!("{}-beta.{}", num, self.beta_prerelease_version())
|
||||
} else {
|
||||
format!("{}-beta", num)
|
||||
},
|
||||
"nightly" => format!("{}-nightly", num),
|
||||
_ => format!("{}-dev", num),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue