actions-marketplace-validations/Create new 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, premajor, minor, preminor, patch, prepatch, or prerelease)yes
per_branchIf specified, only tags merged to the same branch will be considered. Useful for maintenance branches. Note: this requires fetching the history when checking out.nofalse
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 "=".no""
preidIdentifier to be used to prefix premajor, preminor, prepatch or prerelease version increments.no""
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.