From a92710062eb893b15634f8acf0ea84a2962386b0 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Wed, 16 Apr 2025 09:19:54 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=EF=B8=8F=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index bc425f4..3f714f8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -152,7 +152,9 @@ pub fn build(image: &str, ci: bool) { ]); } - docker_script.extend([move_pkg]); + if !ci { + docker_script.extend([move_pkg]); + } // Build the Docker run command let status = if ci { @@ -220,6 +222,7 @@ pub fn build(image: &str, ci: bool) { if !status.success() { eprintln!("Build failed with status: {:?}", status); + std::process::exit(status.code().unwrap()); } }