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 GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Feb 11, 2026
- License
- MIT
Pinned Snippet
uses: ancosma/nexver@d2d4b4ba35b048e93095a3142955b65b96286721 # v1.2.5tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| base-ref | Not in use. Keept for backward compatibility. | no | "" |
| head-ref | Head ref. Default is 'HEAD'. | no | "" |
| input-template | Template used to detect the version | no | v{version} |
| output-template | Template used to write next version out | no | v{version} |
| major-types | Define 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-types | Define types which increment minor number. Default is 'feat'. Types can be comma separated (no space). Provided types overwrite the default. | no | "" |
| patch-types | Define types which increment patch number. Default is 'fix'. Types can be comma separated (no space). Provided types overwrite the default. | no | "" |
| vars | Pass extra variables to be used in output template (ex.: build=b1,info=something) | no | "" |
| working-directory | Package location - used to detect changes within that directory (and its children) | no | . |
Outputs
| name | description |
|---|---|
| output | Next version output |