An easy way to update the version of your package
sh
cargo install cargo-v
This CLI is intended to update the version of your package using the SemVer.
Before using this CLI, make sure you:
- run the cargo build
command to ensure your package doesn't have any errors;
- have committed all important files (including Cargo.toml
and Cargo.lock
, that will be "git added" automatically by the CLI);
You can update the version of your project using the command:
sh
cargo v <version>
When <version>
can be on of patch
, minor
, major
or a string like v1.1.0
or just 1.1.0
.
The above command will do:
- update the string version of your package from Cargo.toml
;
- update the string version of your package from Cargo.lock
;
- create a git commit with new version;
- and create a git tag with new version.
To see all possible options, just run cargo v --help
.
👤 Fernando Daciuk
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Thanks goes to these wonderful people (emoji key):
Fernando Daciuk 💻 📖 |
Matheus Henrique 💻 📖 |
This project follows the all-contributors specification. Contributions of any kind welcome!
Give a ⭐️ if this project helped you!
Copyright © 2022 Fernando Daciuk.
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator