mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
Spawn doesn't wait for the command to finish
This commit is contained in:
parent
0678752be0
commit
53aa9b5c10
|
@ -66,6 +66,8 @@ pub fn publish(matches: &ArgMatches) -> Result<(), Error> {
|
|||
.arg("publish")
|
||||
.current_dir(&root_directory.join(publishable_crate))
|
||||
.spawn()
|
||||
.map_err(|_| Error::PublishCrate)?
|
||||
.wait()
|
||||
.map_err(|_| Error::PublishCrate)?;
|
||||
}
|
||||
|
||||
|
|
|
@ -56,6 +56,8 @@ pub fn release(matches: &clap::ArgMatches) -> Result<(), Error> {
|
|||
Command::new("just")
|
||||
.arg("ci")
|
||||
.spawn()
|
||||
.map_err(|_| Error::JustCiFailed)?
|
||||
.wait()
|
||||
.map_err(|_| Error::JustCiFailed)?;
|
||||
|
||||
if !dry_run {
|
||||
|
|
Loading…
Reference in a new issue