Aliasfy Packages

AttributeTypeDescriptionPackage Types Applicable

aliasfy

boolean

Enable deployment of contents of a folder that matches the alias of the environment

  • source

Aliasified packages are available only for Source Package

Aliasify enables deployment of a subfolder in a source package that matches the target org. For example, you have a source package as listed below.

During Installation, only the metadata contents of the folder that matches the alias gets deployed. If the alias is not found, sfp will fallback to the 'default' folder. If the default folder is not found, an error will be displayed saying default folder or alias is missing.

// Demonstrating package directory with aliasfy
{
  "packageDirectories": [
      {    
      "path": "src/src-env-specific-alias-post",
      "package": "src-env-specific-alias-post",
      "versionNumber": "2.0.10.NEXT",
      "aliasfy" : true
    }

Default folder are only deployed to sandboxes

Last updated