Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Commit

Permalink
Merge bbc8731 into d1c0fff
Browse files Browse the repository at this point in the history
  • Loading branch information
azlam-abdulsalam authored Mar 20, 2023
2 parents d1c0fff + bbc8731 commit 9dd3eb1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/sfpowerscripts-cli/messages/deploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
"baselineorgFlagDescription": "The org against which the package skip should be baselined",
"allowUnpromotedPackagesFlagDescription": "Allow un-promoted packages to be installed in production",
"retryOnFailureFlagDescription": "Retry on a failed deployment of a package",
"configFileFlagDescription":"Path to the config file which determines how the packages are deployed based on the filters in release config"
"configFileFlagDescription":"Path to the config file which determines how the packages are deployed based on the filters in release config",
"enableSourceTrackingFlagDescription": "Enable source tracking on the packages being deployed to an org"
}
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ export default class Deploy extends SfpowerscriptsCommand {
releaseconfig: flags.string({
description: messages.getMessage('configFileFlagDescription'),
}),
enablesourcetracking: flags.boolean({
description: messages.getMessage('enableSourceTrackingFlagDescription'),
}),
loglevel: flags.enum({
description: 'logging level for this command invocation',
default: 'info',
Expand Down Expand Up @@ -127,7 +130,7 @@ export default class Deploy extends SfpowerscriptsCommand {
waitTime: this.flags.waittime,
tags: tags,
isTestsToBeTriggered: false,
deploymentMode: DeploymentMode.NORMAL,
deploymentMode: this.flags.enablesourcetracking? DeploymentMode.SOURCEPACKAGES_PUSH: DeploymentMode.NORMAL,
skipIfPackageInstalled: this.flags.skipifalreadyinstalled,
logsGroupSymbol: this.flags.logsgroupsymbol,
currentStage: Stage.DEPLOY,
Expand Down

0 comments on commit 9dd3eb1

Please sign in to comment.