fix: dont' misundentify nightly as stable in --version on Mac&Win

We used to set `--nightly` in CI, and only for linux. Let's detect this
in xtask instead.
This commit is contained in:
Aleksey Kladov 2021-04-26 15:17:02 +03:00
parent 691c96e36a
commit 869ec5f97a
4 changed files with 18 additions and 28 deletions

View file

@ -37,8 +37,7 @@ xflags::xflags! {
optional --dry-run
}
cmd dist {
optional --nightly
optional --client version: String
optional --client-patch-version version: String
}
cmd metrics {
optional --dry-run
@ -85,9 +84,6 @@ pub struct Install {
pub jemalloc: bool,
}
#[derive(Debug)]
pub struct Lint;
#[derive(Debug)]
pub struct FuzzTests;
@ -106,8 +102,7 @@ pub struct Promote {
#[derive(Debug)]
pub struct Dist {
pub nightly: bool,
pub client: Option<String>,
pub client_patch_version: Option<String>,
}
#[derive(Debug)]