Always deploy a package

Attribute
Type
Description
Package Types Applicable

alwaysDeploy

boolean

Deploys an artifact of the package, even if it's installed already in the org. The artifact has to be present in the artifact directory for this particular option to work

  • unlocked

  • org-dependent unlocked

  • source

  • diff

To ensure that an artifact of a package is always deployed, irrespective the same version of the artifact is previously deployed to the org, you can utlize alwaysDeploy as a property added to your package,

{
  "packageDirectories": [
    {
      "path": "src-env-specific-pre",
      "package": "env-specific-pre",
      "versionDescription": "Environment related settings",
      "versionNumber": "4.7.0.NEXT",
      
    },
     ...
   ]
}

Last updated