Skip to content

craft-hub / ReleaseOperation

Interface: ReleaseOperation ​

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

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:489

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


kind ​

kind: "release"

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


prereleaseIdInput? ​

optional prereleaseIdInput?: string

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

Command input containing the prerelease identifier.


requiredBranch? ​

optional requiredBranch?: string

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

Optional branch required by the repository release policy.


requiresCleanGit ​

requiresCleanGit: boolean

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

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


versionInput? ​

optional versionInput?: string

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

Command input containing a SemVer release type or exact version.


workflowPath? ​

optional workflowPath?: string

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

Repository-relative automation workflow that performs publication.

Released under the MIT License.