---
title: "Set Build Variable"
---
Creates or updates a variable on a build.
Set-BuildVariable(
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.
| Name | Format | Script Usage | Usage 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: "$BuildNumber". |