Skip to content

Commit f5bff12

Browse files
docs: Improve documentation on providing an empty tag-prefix (#579)
Co-authored-by: Benjamin E. Coe <bencoe@google.com> Co-authored-by: Joe Bottigliero <694253+jbottigliero@users.noreply.github.com> fixes #490
1 parent 843c572 commit f5bff12

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,9 @@ standard-version -t @scope/package\@
309309

310310
This will prefix your tags to look something like `@scope/package@2.0.0`
311311

312-
If you do not want to have any tag prefix you can use the `-t` flag without value.
312+
If you do not want to have any tag prefix you can use the `-t` flag and provide it with an **empty string** as value.
313+
314+
> Note: simply -t or --tag-prefix without any value will fallback to the default 'v'
313315
314316
### CLI Help
315317

@@ -368,9 +370,7 @@ As of version `7.1.0` you can configure multiple `bumpFiles` and `packageFiles`.
368370

369371
1. Specify a custom `bumpFile` "`filename`", this is the path to the file you want to "bump"
370372
2. Specify the `bumpFile` "`updater`", this is _how_ the file will be bumped.
371-
372373
a. If you're using a common type, you can use one of `standard-version`'s built-in `updaters` by specifying a `type`.
373-
374374
b. If your using an less-common version file, you can create your own `updater`.
375375

376376
```js

0 commit comments

Comments
 (0)