Skip to content

requestPackageVersionCreate

requestPackageVersionCreate(options): Promise<PackageVersionCreateRequestResult>

Defined in: packages/simply-cicd-core/src/sfPackages.ts:305

Starts a package version create and returns its request (08c) without waiting: what sf package version create --code-coverage --installation-key-bypass --wait 0 does, run from the SFDX project in the current directory. Poll it with getPackageVersionCreateStatus.

Like the CLI, this applies sfdx-project.json string replacements while converting source (SF_APPLY_REPLACEMENTS_ON_CONVERT).

RequestPackageVersionCreateOptions

Promise<PackageVersionCreateRequestResult>