semver-highest

command module
v0.0.0-...-fcdc98f Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: MIT Imports: 6 Imported by: 0

README

semver-highest

A tool to determine the highest version number that's smaller than a target version number.

Installation

go install github.com/marten-seemann/semver-highest@latest

Usage

./semver-highest -target v0.2.0 -versions v0.1.0,v0.1.1,v0.3.0 # v0.1.1

By default, pre-releases are skipped

./semver-highest -target v0.2.0 -versions v0.1.0,v0.1.1,v0.1.2-alpha,v0.3.0 # v0.1.1
./semver-highest -target v0.2.0 -versions v0.1.0,v0.1.1,v0.1.2-alpha,v0.3.0 -prerelease # v0.1.2-alpha

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