optum/semver-cli

Semver utility action

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
commandCommandnoget
sub-commandThe kind of increment (major|minor|patch|none) for (get|inc) commandsno
prereleaseOptional Prerelease Metadatano
buildOptional Build Metadatano
valueThe Version (for set, parse, eq, cmp, gt, gte, lt, lte commands) or space-separated versions (for sort command)no
compare-toThe version to compare to (for eq, cmp, gt, gte, lt, lte commands)no
configPath to a configuration fileno
namedescription
versionThe resulting version change
version_dockerThe resulting version change formatted to be compatible with docker tags
version_dotnetThe resulting version change formatted to be compatible with dotnet
majorIf parsing, the major version
minorIf parsing, the minor version
patchIf parsing, the patch version
prereleaseIf parsing, the prerelease version
buildIf parsing, the build version
v1If comparing, the first version
v2If comparing, the second version
resultIf comparing, the result of the comparison (-1|0|1)
commandIf comparing, the comparison that was run