actions-marketplace-validations/Git Semantic Version (via branches)

Determines version of a repo based on git history

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
test_valueSet to specify what patterns are applied againstyes.
use_test_valueLook at `test_value` to derive how the version is bumped, instead of commit messagesyesfalse
branchSet to specify a specific branch, default is the current HEADyesHEAD
tag_prefixThe prefix to use to identify tagsnov
major_patternA string which, if present in a git commit, indicates that a change represents a major (breaking) change. Wrap with '/' to match using a regular expression.yes(MAJOR)
minor_patternA string which, if present in a git commit, indicates that a change represents a minor (feature) change. Wrap with '/' to match using a regular expression.yes(MINOR)
formatPattern to use when formatting output versionyes${major}.${minor}.${patch}
change_pathPath to check for changes. If any changes are detected in the path the 'changed' output will true. Enter multiple paths separated by spaces.no
namespaceUse to create a named sub-version. This value will be appended to tags created for this version.no
short_tagsIf false, only full versions, i.e. 'v1.0.0', will be supported as tags. If true, tags will support truncated minor and patch versions such as 'v1' (default).yestrue
bump_each_commitIf true, every commit will be treated as a bump to the version.yesfalse
namedescription
majorCurrent major number
minorCurrent minor number
patchCurrent patch number
incrementAn additional value indicating the number of commits for the current version
versionThe version result, in the format {major}.{minor}.{patch}
version_tagThe version tag
changedIndicates whether there was a change since the last version if change_path was specified. If no change_path was specified this value will always be true since the entire repo is considered.