UNPKG

@techmely/utils

Version:

Collection of helpful JavaScript / TypeScript utils

19 lines (14 loc) 318 B
/*! * @techmely/utils * Copyright(c) 2021-2024 Techmely <techmely.creation@gmail.com> * MIT Licensed */ // src/getGitTags.ts import { $ } from "execa"; async function getGitTags() { const tags = await $`git --no-pager tag -l --sort=creatordate`; return String(tags).split("\n"); } export { getGitTags };