Add dry run mode to xtask release

This commit is contained in:
Aleksey Kladov 2020-02-14 18:33:30 +01:00
parent 082dd87b32
commit 9fc2748d47
2 changed files with 9 additions and 6 deletions

View file

@ -93,8 +93,9 @@ FLAGS:
run_pre_cache()
}
"release" => {
let dry_run = args.contains("--dry-run");
args.finish()?;
run_release()
run_release(dry_run)
}
_ => {
eprintln!(