From 92e0905511f824b3c9a2bbc75d97ac373debb939 Mon Sep 17 00:00:00 2001 From: azlam Date: Mon, 14 Aug 2023 01:57:56 +1000 Subject: [PATCH] fix(logs): add addition info on dry run --- packages/sfpowerscripts-cli/src/impl/release/ReleaseImpl.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/sfpowerscripts-cli/src/impl/release/ReleaseImpl.ts b/packages/sfpowerscripts-cli/src/impl/release/ReleaseImpl.ts index d83cf434d..9d8533393 100644 --- a/packages/sfpowerscripts-cli/src/impl/release/ReleaseImpl.ts +++ b/packages/sfpowerscripts-cli/src/impl/release/ReleaseImpl.ts @@ -328,9 +328,11 @@ export default class ReleaseImpl { ) ); + SFPLogger.log(COLOR_KEY_MESSAGE(`Dry-run: ${props.isDryRun}`)); + if (releaseDefinition.baselineOrg) SFPLogger.log(COLOR_KEY_MESSAGE(`Baselined Against Org: ${releaseDefinition.baselineOrg}`)); - SFPLogger.log(COLOR_KEY_MESSAGE(`Dry-run: ${props.isDryRun}`)); + if ( releaseDefinition.promotePackagesBeforeDeploymentToOrg && releaseDefinition.promotePackagesBeforeDeploymentToOrg == props.targetOrg