zyactions/ZyAction: Semver

A GitHub Action that provides access to the individual parts of a SemVer2 version string.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
versionA string containing the semantic version to parse. Defaults to `GITHUB_REF` if not specified.no""
prefixesAn optional newline separated list of version prefixes to strip from the input version (e.g. `v` or `release-v`).no""
fail_on_errorSet `true` to fail, if the input `version` does not contain a valid semantic version. Defaults to `true`.notrue
namedescription
validSignals, if the input `version` contained a valid semantic version.
versionThe (sanitized) semantic version string with any prefix trimmed from it.
majorThe major version.
minorThe minor version.
patchThe patch version.
prereleaseThe prerelease version.
buildThe build version.