This commit is contained in:
parent
316b2ac288
commit
a92710062e
1 changed files with 4 additions and 1 deletions
|
@ -152,7 +152,9 @@ pub fn build(image: &str, ci: bool) {
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if !ci {
|
||||||
docker_script.extend([move_pkg]);
|
docker_script.extend([move_pkg]);
|
||||||
|
}
|
||||||
|
|
||||||
// Build the Docker run command
|
// Build the Docker run command
|
||||||
let status = if ci {
|
let status = if ci {
|
||||||
|
@ -220,6 +222,7 @@ pub fn build(image: &str, ci: bool) {
|
||||||
|
|
||||||
if !status.success() {
|
if !status.success() {
|
||||||
eprintln!("Build failed with status: {:?}", status);
|
eprintln!("Build failed with status: {:?}", status);
|
||||||
|
std::process::exit(status.code().unwrap());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue