--- title: "Create Release" ---
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 a release in another application.

Script usage:

Create-Release(
	Application: <text>,
	[ReleaseNumber: <text>],
	Pipeline: <text>,
	[ReleaseName: <text>],
	[ReleaseTemplate: <text>],
	[Variables: <%(key1: value1, ...)>]
);

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

Arguments:

NameFormatScript UsageUsage Notes
In application
text
Application
This argument is required.
Release number
text
ReleaseNumber
Not specifying will use value: "Auto-increment".
Pipeline name
text
Pipeline
This argument is required.
Release name
text
ReleaseName
Release template
text
ReleaseTemplate
Variables
%(key1: value1, ...)
Variables
Value note: "%(var1: 1000, var2: $HdarFsServer, ...)".

Example:

Create-Release
(
    Application: Hdars.Packager,
    ReleaseNumber: $ReleaseNumber,
    Pipeline: AutoCreate,
    ReleaseTemplate: TemplateName,
    Variables: %(TargetServer: Tst001, ReleaseType: $ReleaseType)
);