aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/main.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-02-14 17:33:30 +0000
committerAleksey Kladov <[email protected]>2020-02-14 17:42:48 +0000
commit9fc2748d476066675dddaf54dfc6c6a8b5e5f450 (patch)
treeb69434c3de621771e19dcde4d3ae1617bc3fbdb5 /xtask/src/main.rs
parent082dd87b328e8cdf1b99999f9332e056a8bc916b (diff)
Add dry run mode to xtask release
Diffstat (limited to 'xtask/src/main.rs')
-rw-r--r--xtask/src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/xtask/src/main.rs b/xtask/src/main.rs
index 7ca727bde..a7dffe2cc 100644
--- a/xtask/src/main.rs
+++ b/xtask/src/main.rs
@@ -93,8 +93,9 @@ FLAGS:
93 run_pre_cache() 93 run_pre_cache()
94 } 94 }
95 "release" => { 95 "release" => {
96 let dry_run = args.contains("--dry-run");
96 args.finish()?; 97 args.finish()?;
97 run_release() 98 run_release(dry_run)
98 } 99 }
99 _ => { 100 _ => {
100 eprintln!( 101 eprintln!(