@process-engine/ci_tools
Version:
CI tools for process-engine.io
15 lines (14 loc) • 630 B
TypeScript
export declare function getNextVersion(mode: string): Promise<string | null>;
export declare function getPreVersionForGitCommit(packageVersion: string, branchName: string, ref: string): string;
/**
* Returns the version tag fora given `version`.
*/
export declare function getVersionTag(version: string): string;
/**
* Returns the "prev" version according to the rules described in `run`.
*/
export declare function getPrevVersion(mode: string): Promise<string>;
/**
* Returns the "previous" version tag according to the rules described in `run`.
*/
export declare function getPrevVersionTag(mode: string): Promise<string>;