Welcome to cargo-v 👋
An easy way to update the version of your package
🏠 Homepage
Install
Usage
You can update the version of your project using the command:
The above command will update the patch part of version from your Cargo.toml,
it will run cargo build to update Cargo.lock file, and create a commit and
a git tag with the new version, if you are using git.
You can use four options to update the version: patch, minor, major or a
manually typed version (like 1.0.1).
patch
will change the latest number of version:
Command:
Update in Cargo.toml:
[]
= "cargo-v"
= "0.0.2"
# ^ This number will be updated
minor
will change the middle number of version:
Command:
Update in Cargo.toml:
[]
= "cargo-v"
= "0.1.0"
# ^ This number will be updated
major
will change the first number of version:
Command:
Update in Cargo.toml:
[]
= "cargo-v"
= "1.0.0"
# ^ This number will be updated
manually typed version
will change the version with the exact entry:
Command:
Update in Cargo.toml:
[]
= "cargo-v"
= "1.0.1"
Run tests
Author
👤 Fernando Daciuk
- Website: https://daciuk.dev
- Twitter: @fdaciuk
- Github: @fdaciuk
- LinkedIn: @fdaciuk
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2022 Fernando Daciuk.
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator