interface PublishOptions {
    dir?: string;
    dryRun?: boolean;
    dryRunResume?: boolean;
    interactive?: boolean;
    makeOptions?: MakeOptions;
    outDir?: string;
    publishTargets?: string[] | ForgeConfigPublisher[];
}

Properties

dir?: string

The path to the app to be published

dryRun?: boolean

Whether to generate dry run meta data but not actually publish

dryRunResume?: boolean

Whether or not to attempt to resume a previously saved dryRun and publish

You can't use this combination at the same time as dryRun=true

interactive?: boolean

Whether to use sensible defaults or prompt the user visually

makeOptions?: MakeOptions

Options object to passed through to make()

outDir?: string

The path to the directory containing generated distributables

publishTargets?: string[] | ForgeConfigPublisher[]

The publish targets, by default pulled from forge config, set this prop to override that list