netchris/SemVer 2 Parse

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
value_to_parseValue to parseno${{ github.ref }}
run_idGitHub run_id, typically defaulted so that it can be pulled from the github contextno${{ github.run_id }}
run_numberGitHub run_number, typically defaulted so that it can be pulled from the github contextno${{ github.run_number }}
run_attemptGitHub run_attempt, typically defaulted so that it can be pulled from the github contextno${{ github.run_attempt }}
namedescription
value_to_parseThe value to parse
semver_versionThe fully matched version
major_versionThe major version
minor_versionThe minor version
patch_versionThe patch version
pre_release_versionThe pre-release version
build_metadataThe build metadata
major_minor_versionReturns any matching MajorVersion.MinorVersion pattern whether the input is valid SemVer or not. Useful for development releases whee patch and prerelease values will be provided programmatically.
fallback_versionA best-effort at returning a SemVer-compatible version
dotnet_assembly_versionA version compatible with versioning .NET assemblies
nuget_versionA version compatible with versioning NuGet packages