diff --git a/lib/cli/src/commands/deploy.rs b/lib/cli/src/commands/deploy.rs index b7548bf6255..febfe7e55d7 100644 --- a/lib/cli/src/commands/deploy.rs +++ b/lib/cli/src/commands/deploy.rs @@ -227,6 +227,10 @@ impl AsyncCliCommand for CmdDeploy { .with_context(|| format!("Could not write file: '{}'", file_path.display()))?; } + if self.fmt.format == crate::utils::render::ItemFormat::Json { + println!("{}", serde_json::to_string_pretty(&app_version)?); + } + Ok(app_version) } }