@coveo/semantic-monorepo-tools
Version:
A library of helper functions to do SemVer2 compliant releases from Conventional Commits in monorepos
10 lines (9 loc) • 352 B
TypeScript
/**
* Get the tag of the last release
* @param prefix only consider tag that has this prefix. Will return the last tag of the current branch by default.
* @return an array containing the last tag and the process that was spawned
*/
export default function ({ prefix, onBranch, }?: {
prefix?: string;
onBranch?: string;
}): Promise<string>;