Skip to main content
Go to Latest
interface ReleasePlugin
import { type ReleasePlugin } from "https://deno.land/x/release_up@0.5.0/plugin.ts";

Type Parameters

optional
T = unknown

Properties

name: string
optional
setup: (logs: log) => Promise<void>

This run at the start of the cli

optional
preCommit: (
repo: Repo,
releaseType: ReleaseType,
from: string,
to: string,
config: ReleaseConfig<T>,
logger: log,
) => Promise<void>

This run before a commit is done

optional
postCommit: (
repo: Repo,
releaseType: ReleaseType,
from: string,
to: string,
config: ReleaseConfig<T>,
logger: log,
) => Promise<void>

This run after a commit with all the changes is done