diff options
author | Aleksey Kladov <[email protected]> | 2020-07-07 17:12:22 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-07 17:12:22 +0100 |
commit | faa65d7856314d60e504ebd976a1162342d3b376 (patch) | |
tree | e4b282469e49f9d4de0e4b774103f2acba6cc190 /xtask/src/main.rs | |
parent | 695f1a9af816e159ebe3ac7edb63ad81632192c2 (diff) |
.
Diffstat (limited to 'xtask/src/main.rs')
-rw-r--r-- | xtask/src/main.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/xtask/src/main.rs b/xtask/src/main.rs index f7a79362d..f447613d4 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs | |||
@@ -17,7 +17,7 @@ use xtask::{ | |||
17 | install::{ClientOpt, InstallCmd, ServerOpt}, | 17 | install::{ClientOpt, InstallCmd, ServerOpt}, |
18 | not_bash::pushd, | 18 | not_bash::pushd, |
19 | pre_commit, project_root, | 19 | pre_commit, project_root, |
20 | release::ReleaseCmd, | 20 | release::{PromoteCmd, ReleaseCmd}, |
21 | run_clippy, run_fuzzer, run_pre_cache, run_rustfmt, Result, | 21 | run_clippy, run_fuzzer, run_pre_cache, run_rustfmt, Result, |
22 | }; | 22 | }; |
23 | 23 | ||
@@ -105,6 +105,11 @@ FLAGS: | |||
105 | args.finish()?; | 105 | args.finish()?; |
106 | ReleaseCmd { dry_run }.run() | 106 | ReleaseCmd { dry_run }.run() |
107 | } | 107 | } |
108 | "promote" => { | ||
109 | let dry_run = args.contains("--dry-run"); | ||
110 | args.finish()?; | ||
111 | PromoteCmd { dry_run }.run() | ||
112 | } | ||
108 | "dist" => { | 113 | "dist" => { |
109 | let nightly = args.contains("--nightly"); | 114 | let nightly = args.contains("--nightly"); |
110 | let client_version: Option<String> = args.opt_value_from_str("--client")?; | 115 | let client_version: Option<String> = args.opt_value_from_str("--client")?; |