> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# promotePackageVersion

> Promotes a package version to released status. This plugin operation requires to be installed on the endpoint where the project will be executed. Targ

Promotes a package version to released status.

This plugin operation requires [sfdx](https://developer.salesforce.com/tools/sfdxcli) to be installed on the endpoint where the project will be executed.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Salesforce Account Code</td><td>`FDSF_ACCOUNT_CODE`</td><td>Yes</td><td>Salesforce Account with all the required properties like User, Password, Client Id, etc.</td></tr><tr><td>Salesforce Cli Path</td><td>`FDSF_CLI_PATH`</td><td>No</td><td>The Salesforce CLI Path. (Eg: C:\Program Files\Salesforce CLI\bin)</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Salesforce Account Code</td><td>`FDSF_INP_ACCOUNT_CODE`</td><td>No</td><td>Salesforce Account Code</td></tr><tr><td>Salesforce Package Name</td><td>`FDSF_PACKAGE_NAME`</td><td>No</td><td>Package Name to promoteIf not specified, a json file in the artifacts folder must supply the information.</td></tr><tr><td>Salesforce Project Location</td><td>`FDSF_INP_PROJECT_LOCATION`</td><td>No</td><td>Project Source FolderPath to the project which contains a sfdx-project.json file. If a relative path is given, a path inside of the FD\_TEMP\_DIR will be assumed.</td></tr><tr><td>Salesforce Package Version Number</td><td>`FDSF_INP_VERSION_NO`</td><td>No</td><td>Package Version Number to promoteIf not specified, a json file in the artifacts folder must supply the information.</td></tr></tbody></table>

# Artifacts

This operation consume artifact and doesn’t produce any artifacts.

# Endpoint Selection

This operation will select all available endpoints associated to the Target.

# Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
