MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / deriveHeading

Function deriveHeading

src/tools/git/release-notes.ts:181–184  ·  view source on GitHub ↗
(to: string)

Source from the content-addressed store, hash-verified

179}
180
181function deriveHeading(to: string): string {
182 if (to === 'HEAD' || !to) return 'Unreleased';
183 return to;
184}
185
186function bumpSemver(v: string, kind: 'patch' | 'minor' | 'major'): string {
187 // Tolerant of "v1.2.3", "1.2.3-rc1", etc. Pre-release suffix is dropped on bump.

Callers 1

executeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected