Documentation
¶
Overview ¶
Package semver implements repository-private release-tag syntax and bump helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NextStable ¶
NextStable bumps patch, minor or major on a stable v-prefixed tag, resetting lower components. Prerelease/build tags and unknown parts return errors. Arithmetic uses Go int without overflow checks; callers must choose components and increments representable by that type.
func ValidateTag ¶
ValidateTag accepts v-prefixed semantic-version syntax, including prerelease and build metadata. It validates syntax, not publication or numeric int range.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.