Skip to content

Repository script API / utils/release-recovery / recoverIncompletePluginReleases

Function: recoverIncompletePluginReleases() ​

recoverIncompletePluginReleases(options): Promise<object[]>

Defined in: utils/release-recovery.mjs:56

Finds plugin releases on this branch that still need their GitHub asset pair.

Parameters ​

options ​

Existing release state and asset inspection operations.

existingReleases ​

object[]

GitHub releases found in repository history.

firstParentShas ​

Set<string>

Commit SHAs on the target's first-parent history.

getReleaseAssets ​

(tagName) => Promise<{ assets: string[]; immutable?: boolean; }>

Reads assets and mutability for a published release.

log? ​

(message) => void = console.log

Receives catch-up messages.

releases ​

object[]

Releases already selected for this run.

repositoryConfig ​

Record<string, object>

Release Please configuration by component path.

Returns ​

Promise<object[]>

Incomplete plugin releases that can be rebuilt from their own tags.

Throws ​

When a plugin tag is ambiguous or its release assets cannot be inspected.

pumpkin-plugins documentation