Incrementor
A simple version bumping tool designed to efficiently handle multiple version numbers across various packages, libraries, targets in monorepo setup. The focus lies in the flexibility to define all the necessary files in a configuration file and update them with a user-friendly CLI.
For example:
#incrementor.toml
= "0.1.0"
[]
= "{current_version}"
= "{new_version}"
[]
= '"version": "{current_version}"'
= '"version": "{new_version}"'
[]
= 'version = "{current_version}"$'
= 'version = "{new_version}"'
Run incrementor to increment the version from 0.1.0
to 0.2.0
incrementor --minor
Git Commit & Tag
Incrementor isn't just a version incrementor. It can also automatically generate a commit and tag in Git based on the command-line command and configurations.
Installation
cargo install --locked incrementor
Usage
incrementor --minor