UNPKG

@mlaursen/release-script

Version:

The release script I normally use for packages I publish to npm

5 lines (4 loc) 162 B
import { execSync } from "node:child_process"; export function getLatestTag() { return execSync("git tag --sort=-creatordate | head -1").toString().trim(); }