This commit is contained in:
Aleksey Kladov 2020-06-08 14:00:30 +02:00
parent 97ea2dfc4b
commit cbc5eb8738
2 changed files with 62 additions and 54 deletions

View file

@ -17,7 +17,7 @@ use xtask::{
install::{ClientOpt, InstallCmd, ServerOpt},
not_bash::pushd,
pre_commit, project_root,
release::run_release,
release::ReleaseCmd,
run_clippy, run_fuzzer, run_pre_cache, run_rustfmt, Result,
};
@ -103,7 +103,7 @@ FLAGS:
"release" => {
let dry_run = args.contains("--dry-run");
args.finish()?;
run_release(dry_run)
ReleaseCmd { dry_run }.run()
}
"dist" => {
let nightly = args.contains("--nightly");