From 869ec5f97ace736fdbf765d143c9634fd1b558ef Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 26 Apr 2021 15:17:02 +0300 Subject: 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. --- xtask/src/flags.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'xtask/src/flags.rs') diff --git a/xtask/src/flags.rs b/xtask/src/flags.rs index 4cd2b1ddb..f80a5dd16 100644 --- a/xtask/src/flags.rs +++ b/xtask/src/flags.rs @@ -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, + pub client_patch_version: Option, } #[derive(Debug)] -- cgit v1.2.3