--- title: "$ReferencedPackageNumber" ---
This is generated from the built in components of BuildMaster 2023.0, and may be different than what you have installed (especially if you have extensions); go to [Gear Icon] -> Administration -> Functions within your BuildMaster instance to see exactly what operations are available.

build number referenced by the current or specified deployable

Script usage:

$ReferencedPackageNumber([depName], [releaseNum], [furthestOrLatest])

Parameters:

NameDescription
depNameThe application-qualified name of the deployable (e.g. AppName::DeployableName); when no application name is specified, the current application in context will be used.
releaseNumRelease Number
furthestOrLatestMust be "furthest" or "latest"; the default is "latest".