Skip to content

Commit b376c7f

Browse files
committed
update readme to include new git tag flag
1 parent b4dde7e commit b376c7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ This adds the command `cargo bump` which bumps the current version in your
77

88
This is meant to be a clone of `npm version` with the `pre*` version specifiers
99
omitted as I rarely see the pre-release versions on [crates.io](https://crates.io/).
10-
It does not do the git operations but is still useful.
1110

1211
## installation
1312

@@ -19,7 +18,7 @@ Install using cargo:
1918

2019
Increment the patch version: `cargo bump` or `cargo bump patch`
2120

22-
Increment the minor version: `cargo bump minor`
21+
Increment the minor version and create a git tag: `cargo bump minor --git-tag`
2322

2423
Set the version number directly: `cargo bump 13.3.7`
2524

@@ -32,6 +31,7 @@ USAGE:
3231
FLAGS:
3332
-h, --help Prints help information
3433
-v, --version Prints version information
34+
-g, --git-tag Commits the new version and creates a git tag
3535
3636
ARGS:
3737
<version> Version should be a semver (https://semver.org/) string or the

0 commit comments

Comments
 (0)