@wroud/git
Version:
A lightweight toolset for working with local git, including utilities for retrieving git commits and tags, ideal for CI/CD pipelines and automated release workflows.
9 lines • 369 B
JavaScript
import { defaultTagPrefix } from "./defaultTagPrefix.js";
import { getGitLastSemverTags } from "./getGitLastSemverTags.js";
export async function getGitLastSemverTag({ to, prefix = defaultTagPrefix, } = {}) {
for await (const tag of getGitLastSemverTags({ to, prefix })) {
return tag;
}
return null;
}
//# sourceMappingURL=getGitLastSemverTag.js.map