---
title: "Set Release Variable"
---
Creates or updates a variable on a release or build.
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.
| 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: "none (create as release variable)". |