From b376c7fa1c0779fe6c83db3828bb315730e2b877 Mon Sep 17 00:00:00 2001 From: Tom Pridham Date: Wed, 26 Jun 2019 22:36:54 -0600 Subject: [PATCH] update readme to include new git tag flag --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5a51224..ba78b00 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,6 @@ This adds the command `cargo bump` which bumps the current version in your 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/). -It does not do the git operations but is still useful. ## installation @@ -19,7 +18,7 @@ Install using cargo: Increment the patch version: `cargo bump` or `cargo bump patch` -Increment the minor version: `cargo bump minor` +Increment the minor version and create a git tag: `cargo bump minor --git-tag` Set the version number directly: `cargo bump 13.3.7` @@ -32,6 +31,7 @@ USAGE: FLAGS: -h, --help Prints help information -v, --version Prints version information + -g, --git-tag Commits the new version and creates a git tag ARGS: Version should be a semver (https://semver.org/) string or the