semv

command
v0.46.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

README

semv

semv provides subcommands to parse a semantic version, and to test if a version conforms to a semantic version constraint.

Examples
PRERELEASE=$(./bin/semv-darwin-amd64 parse --output go-template="{{ .Prerelease }}" v1.2.3)
if [ -n "$PRERELEASE" ]; then
  echo "Prerelease: $PRERELEASE"
fi

semv test v1.1 v1.1.1

Contributions

  • File Issue with details of the problem, feature request, etc.
  • Submit a pull request and include details of what problem or feature the code is solving or implementing.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL