baileyherbert/Extract Release Version

Extracts the version of the GitHub release from github.ref.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None

no inputs

namedescription
versionThe pushed version, for example "v1.2.7"
version-without-vThe pushed version, without the v prefix, for example "1.2.7"
is-semverSet to true if the pushed version is a valid semver value. Undefined otherwise.
majorThe semver major version, for example "1" in the case of "v1.2.3-ALPHA.0+BUILD.1"
minorThe semver minor version, for example "2" in the case of "v1.2.3-ALPHA.0+BUILD.1"
patchThe semver patch version, for example "3" in the case of "v1.2.3-ALPHA.0+BUILD.1"
prereleaseThe semver prerelease version, for example "ALPHA.0" in the case of "v1.2.3-ALPHA.0+BUILD.1"
buildThe semver build version, for example "BUILD.1" in the case of "v1.2.3-ALPHA.0+BUILD.1"
is-prereleaseSet to true if the pushed version is a prerelease. otherwise false.