bencatlab/gha-svu

Calculate semantic versions using SVU v3+ (https://github.com/caarlos0/svu)

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
alwaysOnly applied when command=next. If no commits trigger a version change, increment the patch (true/false)nofalse
commandSVU subcommand to run: current, next, major, minor, patch, prereleasenonext
initial-versionOnly applied when command=next. Initial version to use when no tags are present (v0)no""
log-directoryOnly use commits that changed files in the given directoriesno""
metadataMetadata to append to the version (e.g. "+build.42")no""
prereleasePrerelease identifier (e.g. "alpha", "beta")no""
push-tagPush the new tag to the remote (true/false)nofalse
svu-versionSVU version to install (e.g. "v3.2.3"). Leave blank to install latestno""
tag-modeWhich tags to consider: all, light, heavynoall
tag-patternRegex to ignore tags that do not match the given patternno""
tag-prefixTag prefix (e.g. "v")nov
verboseEnable verbose SVU output (true/false)nofalse
namedescription
changedWhether the version has changed (true/false)
currentCurrent semantic version based on existing tags
nextNext semantic version calculated by SVU