actions-marketplace-validations/Semantic version from string

Split a string into its semantic version numbers.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
stringThe string to split into semantic version numbers.yes
namedescription
fullThe full semantic version (`1.2.3-beta+ABCDEF`).
precedenceThe semantic version with metadata excluded (`1.2.3-beta`).
coreThe semantic version core (`1.2.3`).
pairThe semantic version core, excluding the patch version (`1.2`).
majorThe major version (`1`).
minorThe minor version (`2`).
patchThe patch version (`3`).
prereleaseThe pre-release field contents (`beta`).
metadataThe metadata field contents (`ABCDEF`).