CI | |
Latest Version | |
Documentation | |
Crate Downloads | |
GitHub Downloads | |
License |
Table of Contents
If Rust is installed, then installing with Cargo is straight forward:
$ cargo install versio
To install from source, you can clone the Git repository, build with Cargo and copy the binary into a destination directory. This will build the project from the latest commit on the master branch, which may not correspond to the latest stable release:
$ git clone https://github.com/fnichol/versio.git
$ cd versio
$ cargo build --release
$ cp ./target/release/versio /dest/path/
Some quick examples of usages:
echo "1.0.0" | versio bump stdin minor
versio bump stdin minor < VERSION.txt
versio bump file minor VERSION.txt
versio bump file set --pre-release dev VERSION.txt
versio bump file set --minor 2 VERSION.txt
versio bump cargo patch
versio bump cargo minor --pre-release dev
versio bump cargo minor --build-metadata git --stdout
Operating System | Stable Rust | Nightly Rust | MSRV |
---|---|---|---|
FreeBSD | |||
Linux | |||
macOS | |||
Windows |
Operating System | Stable Rust | Nightly Rust | MSRV |
---|---|---|---|
FreeBSD | |||
Linux | |||
macOS | |||
Windows |
Status | |
---|---|
Lint | |
Format |
This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to fnichol@nichol.ca.
If you have any problems with or questions about this project, please contact us through a GitHub issue.
You are invited to contribute to new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.
See the changelog for a full release history.
Created and maintained by Fletcher Nichol (fnichol@nichol.ca).
Licensed under the Mozilla Public License Version 2.0 (LICENSE.txt).
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the MPL-2.0 license, shall be licensed as above, without any additional terms or conditions.