Create Package Version
sf_create_package_versionCreate a new version of an existing second-generation Salesforce package to capture the current source state, enabling promotion and installation in target orgs.
Instructions
Creates a new version of an existing second-generation package. Each version captures the current state of the package source. Package versions can be promoted and installed in target orgs.
packageId: Package ID (0Ho...) or package alias installationKey: optional key to protect the version codeVersion: version number, e.g. '1.0.0.NEXT' wait: minutes to wait for version creation to complete
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Minutes to wait for version creation | |
| packageId | Yes | Package ID (0Ho...) or package alias | |
| codeVersion | No | Version number, e.g. '1.0.0.NEXT' | |
| installationKey | No | Installation key for the package version |