ancosma/nexver

Detect current version of a package and calculate the next one. Supports monorepo and uses templates for detection of version and output. It supports (configurable) conventional commits.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Feb 11, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: ancosma/nexver@d2d4b4ba35b048e93095a3142955b65b96286721 # v1.2.5

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

namedescriptionrequireddefault
base-refNot in use. Keept for backward compatibility.no""
head-refHead ref. Default is 'HEAD'.no""
input-templateTemplate used to detect the versionnov{version}
output-templateTemplate used to write next version outnov{version}
major-typesDefine types which increment major number. By default, all types which ends with '!' or commits containing 'BREAKING CHANGE' or 'BREAKING-CHANGE' in commit message body define a breaking change. Types added here will extend the default behavior. no""
minor-typesDefine types which increment minor number. Default is 'feat'. Types can be comma separated (no space). Provided types overwrite the default. no""
patch-typesDefine types which increment patch number. Default is 'fix'. Types can be comma separated (no space). Provided types overwrite the default. no""
varsPass extra variables to be used in output template (ex.: build=b1,info=something) no""
working-directoryPackage location - used to detect changes within that directory (and its children)no.
namedescription
outputNext version output