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

Creates or updates a variable on a release or build.

Script usage:

Set-ReleaseVariable(
	Variable: <text>,
	Value: <RuntimeValue>,
	[Release: <text>],
	[Build: <text>]
);

This operation may be prefixed with Core::, although this is a built-in namespace and isn't really necessary.

Arguments:

NameFormatScript UsageUsage Notes
Variable name (default)
text
Variable
This argument is required.
Variable value
RuntimeValue
Value
This argument is required.
Release number
text
Release
Value note: "$ReleaseNumber".
Build number
text
Build
Value note: "none (create as release variable)".