UNPKG

gradle-semantic-release-plugin

Version:
19 lines (18 loc) 900 B
import { Signale } from "signale"; /** * @param {string} cwd the path of current working directory * @return A promise that resolves name of command to trigger Gradle */ export declare function getCommand(cwd: string): Promise<string>; /** * @param {string} cwd the path of current working directory * @return A promise that resolves name of task to publish artifact */ export declare function getTaskToPublish(cwd: string, env: NodeJS.ProcessEnv, logger: Signale): Promise<string[]>; /** * @param {string} cwd the path of current working directory * @return A promise that resolves version of the target project */ export declare function getVersion(cwd: string, env: NodeJS.ProcessEnv): Promise<string>; export declare function buildOptions(env: NodeJS.ProcessEnv): string[]; export declare function publishArtifact(cwd: string, env: NodeJS.ProcessEnv, logger: Signale): Promise<unknown>;