UNPKG

@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.

6 lines (4 loc) 173 B
import { defaultTagPrefix } from "./defaultTagPrefix.js"; export function getGitPrefixedTag(version: string, prefix = defaultTagPrefix) { return `${prefix}${version}`; }