Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wraithan/cargo-bump
https://github.com/wraithan/cargo-bump
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/wraithan/cargo-bump
- Owner: wraithan
- License: isc
- Created: 2016-01-02T10:10:19.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-11-16T22:59:52.000Z (12 months ago)
- Last Synced: 2024-10-31T11:59:08.146Z (12 days ago)
- Language: Rust
- Size: 44.9 KB
- Stars: 87
- Watchers: 4
- Forks: 24
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE.isc
Awesome Lists containing this project
README
[![crates.io](https://img.shields.io/crates/v/cargo-bump.svg)](https://crates.io/crates/cargo-bump)
[![build status](https://travis-ci.org/wraithan/cargo-bump.svg?branch=master)](https://travis-ci.org/wraithan/cargo-bump)
# cargo-bumpThis adds the command `cargo bump` which bumps the current version in your
`Cargo.toml`.This is meant to be a clone of `npm version` with the `pre*` version specifiers
omitted as I rarely see the pre-release versions on [crates.io](https://crates.io/).## installation
Install using cargo:
`cargo install cargo-bump`
## examples
Increment the patch version: `cargo bump` or `cargo bump patch`
Increment the minor version and create a git tag: `cargo bump minor --git-tag`
Set the version number directly: `cargo bump 13.3.7`
## usage
```
USAGE:
cargo bump [FLAGS] [ | major | minor | patch]FLAGS:
-h, --help Prints help information
-v, --version Prints version information
-g, --git-tag Commits the new version and creates a git tagARGS:
Version should be a semver (https://semver.org/) string or the
position of the current version to increment: major, minor or patch.
```