Skip to main content
Validate that a version string conforms to a format. Without --format, zerv checks every supported format and reports each match.

Options

Exit codes

  • 0 - the version is valid in at least the requested (or any detected) format
  • 1 - invalid: the string matches no requested/supported format
Use it as a CI guard for version strings produced elsewhere: