Skip to content

craft-hub / ReleaseOperation

Interface: ReleaseOperation

Defined in: packages/craft-hub/src/types.ts:392

Built-in high-risk operation metadata understood by the Craft Hub host.

Properties

customVersionInput?

optional customVersionInput?: string

Defined in: packages/craft-hub/src/types.ts:403

Command input containing an exact version when versionInput is "custom".


kind

kind: "release"

Defined in: packages/craft-hub/src/types.ts:393


prereleaseIdInput?

optional prereleaseIdInput?: string

Defined in: packages/craft-hub/src/types.ts:405

Command input containing the prerelease identifier.


requiredBranch?

optional requiredBranch?: string

Defined in: packages/craft-hub/src/types.ts:397

Optional branch required by the repository release policy.


requiresCleanGit

requiresCleanGit: boolean

Defined in: packages/craft-hub/src/types.ts:395

Require a clean Git worktree before execution. Defaults to true.


versionInput?

optional versionInput?: string

Defined in: packages/craft-hub/src/types.ts:401

Command input containing a SemVer release type or exact version.


workflowPath?

optional workflowPath?: string

Defined in: packages/craft-hub/src/types.ts:399

Repository-relative automation workflow that performs publication.

Released under the MIT License.