step-security/SemVer Data Action

Checks SemVer version numbers and provides outputs for the various parts and next version numbers

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
versionThe semver version number to perform the operations onyes
namedescription
versionThe version that was passed in and validated as a semver, will not be present if validation failed
majorThe major version number
minorThe minor version number
patchThe patch version number
isPreReleaseWhether the version provided is a pre-release version
preReleaseThe pre-release version parts as a JSON Array, e.g. ["alpha", "1"] for "-alpha.1". This will not be present if the version is not a pre-release version number
preReleaseStringThe pre-release version parts as a string, e.g. "alpha.1" for "-alpha.1". This will not be present if the version is not a pre-release version number
nexMajorThe next major version number
nextMinorThe next minor version number
nextPatchThe next patch version number