rmeneely/Git Next Version

Determine the next version based upon last git tag and provided increment

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Jul 6, 2026
Maintenance Recency
Stalelast commit Nov 8, 2022
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: rmeneely/git-next-version@137f4036fd148c7faf9d01b3b73e4345b38037f6 # v1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
tag_patternThe tag pattern to matchnov[0-9]*.[0-9]*.[0-9]*
incrementThe semantic version increment - major, minor, patch, nonenominor
auto_incrementDetermine the next version based on commit messagesnofalse
auto_increment_major_version_patternThe commit message pattern to match major version commitsnomajor:|breaking:|incompatible:
auto_increment_minor_version_patternThe commit message pattern to match minor version commitsnominor:|feature:
auto_increment_limitThe highest level of auto increment allowed - major, minor, patchnominor
new_prefixSets new prefix for the next versionno""
remove_prefixRemoves last version prefix for the next versionnofalse
new_suffixSets new suffix for the next versionno""
remove_suffixRemoves last version suffix for the next versionnofalse
last_versionDefines the last version instead of searching for itno""
next_versionDefines the next version instead of calculating itno""
set_next_version_tagCreate a version tag of NEXT_VERSIONnofalse
namedescription
last_versionThe LAST_VERSION
next_versionThe NEXT_VERSION