UNPKG

@coveo/semantic-monorepo-tools

Version:

A library of helper functions to do SemVer2 compliant releases from Conventional Commits in monorepos

6 lines (5 loc) 224 B
import spawn from "../utils/spawn.js"; import gitLogger from "./utils/gitLogger.js"; export default async function (ref, newValue) { return (await spawn("git", ["update-ref", ref, newValue], gitLogger)).stdout.trim(); }