UNPKG

@techmely/utils

Version:

Collection of helpful JavaScript / TypeScript utils

23 lines (18 loc) 386 B
/*! * @techmely/utils * Copyright(c) 2021-2024 Techmely <techmely.creation@gmail.com> * MIT Licensed */ import { execCommand } from "./chunk-OEREUEGT.mjs"; // src/getGitTags.ts async function getGitTags() { const tags = await execCommand("git", ["--no-pager", "tag", "-l", "--sort=creatordate"]).then( (r) => r.split("\n") ); return tags; } export { getGitTags };