---
title: "Create Release"
---
Creates a release in another application.
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.
Name | Format | Script Usage | Usage 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, ...)". |
Create-Release
(
Application: Hdars.Packager,
ReleaseNumber: $ReleaseNumber,
Pipeline: AutoCreate,
ReleaseTemplate: TemplateName,
Variables: %(TargetServer: Tst001, ReleaseType: $ReleaseType)
);