actions-marketplace-validations/Version Increment

Inspects the git tags to determine the current normal version, and returns the next version number

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
schemeVersioning scheme - semver, calver or conventional_commits (defaults to semver). `conventional_commits` Will parse the last commit message (e.g. the merge commit) to determine the increment type, and supports the following increment types by keyword: - patch (build, chore, ci, docs, fix, perf, refactor, revert, style, test) - minor (feat) - major (any of the above keywords followed by a '!' character, or 'BREAKING CHANGE:' in commit body) nosemver
pep440PEP440 compatibility mode - shifts the pre-release version information into build metadata insteadnofalse
incrementField to increment - major, minor, or, patch (defaults to patch) If using the `conventional_commits` scheme, this is the default increment if the parsing of the merge commit fails to find conventional commits information Not applicable to `calver` scheme nopatch
release_branchSpecify a non-default branch to use for the release tag (the one without -pre)no
use_apiUse the GitHub API to discover current tags, which avoids the need for a git checkout, but requires `curl` and `jq`nofalse
tag_prefixPrefix the tag with a string (defaults to empty string). e.g. if set to `@org/product/` the action will filter by this prefix and return `@org/product/1.2.3` in `prefixed-version` output no""
namedescription
current-versionCurrent normal version detected
current-v-versionCurrent normal version detected, prefixed with a `v` character
versionIncremented version calculated
v-versionIncremented version calculated, prefixed with a `v` charatcter
major-versionMajor number of the incremented version
minor-versionMinor number of the incremented version
patch-versionPatch number of the incremented version
pre-release-labelPre-release label of the incremented version
major-v-versionMajor number of the incremented version, prefixed with a `v` charatcter
minor-v-versionMinor number of the incremented version, prefixed with a `v` charatcter
patch-v-versionPatch number of the incremented version, prefixed with a `v` charatcter
prefixed-versionIncremented version calculated, including a `tag_prefix` if specified
prefixed-v-versionIncremented version calculated, prefixed with a `v` charatcter, and also including a `tag_prefix` if specified