Skip to content

Commit

Permalink
Add --ignore-conflicts to smartDeploy
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam committed Sep 23, 2024
1 parent ceaed37 commit a9156d3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

Note: Can be used with `sfdx plugins:install sfdx-hardis@beta` and docker image `hardisgroupcom/sfdx-hardis@beta`

## [5.0.3] 2024-09-23

- Add --ignore-conflicts to smartDeploy

## [5.0.2] 2024-09-23

- Always use `project deploy start --dry-run` for deployment validation, until command `project deploy validate` works with --ignore-warnings & NoTestRun
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Swiss-army-knife Toolbox for Salesforce.\n Allows you to define a complete CD/CD Pipeline.\n Orchestrate base commands and assist users with interactive wizards",
"author": "NicolasVuillamy @nvuillam",
"bugs": "https://github.com/hardisgroupcom/sfdx-hardis/issues",
"version": "5.0.2",
"version": "5.0.3",
"dependencies": {
"@actions/github": "^6.0.0",
"@gitbeaker/node": "^35.8.1",
Expand Down
1 change: 1 addition & 0 deletions src/common/utils/deployUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ export async function smartDeploy(
(check ? ' --dry-run' : '') +
` --manifest "${deployment.packageXmlFile}"` +
' --ignore-warnings' + // So it does not fail in for objectTranslations stuff for example
' --ignore-conflicts' + // With CICD we are supposed to ignore them
` --test-level ${testlevel}` +
(options.testClasses && testlevel !== 'NoTestRun' ? ` --tests ${options.testClasses}` : '') +
(options.preDestructiveChanges ? ` --pre-destructive-changes ${options.preDestructiveChanges}` : '') +
Expand Down

0 comments on commit a9156d3

Please sign in to comment.