nextsv
A utility to calculate the level of change and the next semantic version number based on the conventional commits since the last version tag.
Feature set
[x] Calculate next semantic version number [x] Calculate the level to change for next semantic version number [x] Support basic semantic version components: Major, Minor, and Patch [ ] Support pre-release versions (alpha, beta, rc) [ ] Handle case where no tag is found [ ] Update to release version (removing pre-release identifiers)
CLI Usage
Install the CLI using cargo install.
Run in your project directory and check the version
Running the application provides the level for the next semantic version change.
Help provides all the options
A clean response of the level to update is reported using the -q flag.
This can be used with cargo release to update and publish a new release.
Library Usage
To use the library add the crate to dependencies in the project's Cargo.toml.
[]
= "0.7.1"