$PackageVersion
  • 14 May 2021
  • 1 Minute to read
  • Dark
    Light
  • PDF

$PackageVersion

  • Dark
    Light
  • PDF

Article Summary

This is generated from the built in components of BuildMaster 7.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.

$PackageVersion

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.

Was this article helpful?

What's Next