Documentation
¶
Overview ¶
Package semver supplies release-script tag syntax and stable bump helpers. It owns no Git operations, IO or release policy. Use ValidateTag for syntax only; NextStable assumes small machine-int version components.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NextStable ¶
NextStable bumps patch/minor/major on a stable v-prefixed tag and resets lower components. Prerelease/build tags and unknown parts fail. Numeric conversion errors and increment overflow are not checked; use representable small versions.
func ValidateTag ¶
ValidateTag checks v-prefixed SemVer syntax including prerelease/build suffixes, not tag existence, release authorization or machine-integer representability.
Types ¶
This section is empty.