Skip to content

DeployOnReleaseOptions

Defined in: cli/astromech/src/tasks/deploy-on-release/deploy-on-release.type.ts:6

What deployOnRelease needs to know about a release.

channel: string

Defined in: cli/astromech/src/tasks/deploy-on-release/deploy-on-release.type.ts:10

The release’s channel: its prerelease identifier (alpha); empty or main for a stable release.


cwd: string

Defined in: cli/astromech/src/tasks/deploy-on-release/deploy-on-release.type.ts:8

Repo root.


optional dryRun?: boolean

Defined in: cli/astromech/src/tasks/deploy-on-release/deploy-on-release.type.ts:18

Print what would deploy without running it.


optional from?: string

Defined in: cli/astromech/src/tasks/deploy-on-release/deploy-on-release.type.ts:12

The previous release’s commit; omitted when there is none, so every deploying channel match deploys.


print: (line) => void

Defined in: cli/astromech/src/tasks/deploy-on-release/deploy-on-release.type.ts:16

Where progress lines go (stdout in the CLI).

string

void


optional recordFile?: string

Defined in: cli/astromech/src/tasks/deploy-on-release/deploy-on-release.type.ts:23

A file to list the packages whose deploy succeeded in, for recordDeploys to tag in a later step. The deploy phase itself never writes a tag, so it needs no write credential. Not written on a dry run.


optional to?: string

Defined in: cli/astromech/src/tasks/deploy-on-release/deploy-on-release.type.ts:14

The release commit. Default HEAD.