UNPKG

@henriquehbr/tagit

Version:

A git tag bumper that strictly follows semver

11 lines (8 loc) 234 B
import runCommand from "./runCommand.js" const getLatestGitTag = () => { const latestGitTag = runCommand("git", ["describe", "--abbrev=0", "--tags"], { ignoreErrors: true }) return latestGitTag } export default getLatestGitTag