During packaging, the following attributes are set:
datical:origFilePath
datical:origFileName
datical:version
datical:versionStrategy
The packaging process checks to see if changesets using origFilePath
and orgFileName
have been deployed before.
If so, the datical:version
is incremented.
For stored-logic changes (package, packagebody, trigger, view), the packaging process leaves the files in the directory rather than archive them.
Use the versionStrategy
variable in a metadata.properties file to specify deployment behavior when multiple versions are available:
deployAll
- deploy all versions founddeployLatest
- deploy only the latest version
The datical:versionStrategy
changeset attribute takes its value from this setting.
See Using the metadata.properties file.