im-open/git-version-lite

An action to calculate the next tag for the repository based on commit messages.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
calculate-prerelease-versionFlag indicating whether to calculate a pre-release version rather than a release version. Accepts: true|false.nofalse
branch-nameThe name of the branch the tag is being generated for. Required when calculating the pre-release version.no
tag-prefixBy default the action strips the prefixes off, but any value provided here will be prepended to the next calculated version.nov
fallback-to-no-prefix-searchFlag indicating whether it should fallback to a prefix-less search if no tags are found with the current prefix. Helpful when starting to use prefixes with tags. Accepted values: true|false.notrue
default-release-typeThe default release type that should be used when no tags are detected. Defaults to major. Accepted values: major|minor|patchnomajor
namedescription
NEXT_VERSIONThe calculated next version.
NEXT_VERSION_NO_PREFIXThe calculated next version without the tag prefix.
NEXT_MINOR_VERSIONThe next major.minor version.
NEXT_MINOR_VERSION_NO_PREFIXThe next major.minor version without the tag prefix.
NEXT_MAJOR_VERSIONThe next major version.
NEXT_MAJOR_VERSION_NO_PREFIXThe next major version without the tag prefix.
PRIOR_VERSIONThe previous major.minor.patch version.
PRIOR_VERSION_NO_PREFIXThe previous major.minor.patch version without the tag prefix.
NEXT_RELEASE_VERSIONThe calculated next release version. This version will not contain the branch when calculating a pre-release version.
NEXT_RELEASE_VERSION_NO_PREFIXThe calculated next release version without the tag prefix. This version will not contain the branch when calculating a pre-release version.