MCPcopy
hub / github.com/CodebuffAI/codebuff / incrementPatchVersion

Function incrementPatchVersion

packages/internal/src/utils/version-utils.ts:35–37  ·  view source on GitHub ↗
(version: Version)

Source from the content-addressed store, hash-verified

33 * Increment the patch version of a semantic version string
34 */
35export function incrementPatchVersion(version: Version): Version {
36 return { ...version, patch: version.patch + 1 }
37}
38
39export function isGreater(v1: Version, v2: Version): boolean {
40 if (v1.major !== v2.major) {

Callers 2

determineNextVersionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected