--- title: "$PackageVersion" ---
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.

Gets the version of the specified package associated with the current build.

Script usage:

$PackageVersion(packageName, [part], [sourceName])

Parameters:

NameDescription
packageNamePackage Name
partThe version part, one of: 'full' (default), 'stable', 'pre-release', 'build'.
sourceNameThe package source name; defaults to searching all package sources.