p6m-actions/Git Cut Tag

Language-agnostic semantic-version tagging driven by the latest git tag and a version-line file, with optional timestamped pre-release tags

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
version-filePath to the version-line file. Holds '<prefix><major>.<minor>' (e.g. 'v1.2'). The prefix is inferred from its contents unless 'prefix' is set. The file is read-only; the maintainer owns it.no.version
version-levelVersion level to bump relative to the latest tag: patch, minor, or majornopatch
prefixOverride the tag prefix (e.g. 'v'). When empty, the prefix is inferred from the version file's leading non-digit characters.no""
pre-releaseBuild a pre-release tag with a trailing epoch timestamp (e.g. 'v1.2.5-1782043845').nofalse
working-directoryDirectory to operate in (must contain the version file and be inside the git repo)no.
skip-pushSkip pushing the tag to the remote (useful for testing)nofalse
namedescription
versionThe new version, without prefix (e.g. '1.2.5' or '1.2.5-1782043845')
tagThe created git tag, with prefix (e.g. 'v1.2.5')
base-versionThe release version without any pre-release suffix (e.g. '1.2.5')
is-pre-release'true' when a pre-release tag was created