actions-marketplace-validations/Get tag and version

A simple action to get the last or next tag/version to use in other actions.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
fallbackFallback tag/version to use when no previous tag can be found. May include a valid prefix, but may also exclude it.no0.0.0
incrementIncrement the version number by one digit. Possible values are "major", "minor", "patch", "build" and "suffix".nofalse
tagTag ref to use. Will omit the searching stage and use the supplied tag ref if its a valid match.no""
branchOnly search for for tags on the currently selected branch.nofalse
prefixThe prefix to search for, and will be set for the new tags if auto-increment is enabled.nov
prefixRegexOptional. A regex sub-pattern to match multiple prefixes while looking for a match. Must also match the given prefix.no""
suffixOptional. An optional suffix to search for, and will be set for new tags if auto-increment is enabled.no""
suffixRegexOptional. A regex sub-pattern to match multiple suffixes while looking for a match. Must also match the given suffix.no""
namedescription
tagThe full tag with the prefix, version and suffix combined.
prefixThe tag prefix.
suffixThe tag suffix.
versionThe full version, with build number.
version_majorThe major version number.
version_minorThe minor version number.
version_patchThe patch version number.
version_buildThe build version number.