enosix/Generate Semantic Version

Determine the next semantic version and optionally tag it.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
bumpThe type of semantic version increment to make (one of major, minor, patch, or prerelease)no
github_tokenToken to use to push to the repo. Pass in using `secrets.GITHUB_TOKEN`.yes
dry_runIf true, only calculate the new version and exit successfully.nofalse
shaCommit SHA to use to create tag. Pass in if you modify the current HEAD.no
prefixVersion prefix used to create tag. Usually empty or "v" or "=".nov
filter_by_prefixIf set, only consider existing tags with this prefix when calculating the new version.no""
prerelease_versionVersion to append for prerelease versionsno""
detect_bumpIf true, detect the type of bump to make based on the commit messages.notrue
namedescription
versionThe new semantic version that was calculated.
version_optimisticThe major and minor components of the semantic version that was calculated.
version_tagThe version string used to create the tag.