-
Notifications
You must be signed in to change notification settings - Fork 799
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Improve documentation on providing an empty tag-prefix (#579)
Co-authored-by: Benjamin E. Coe <[email protected]> Co-authored-by: Joe Bottigliero <[email protected]> fixes #490
- Loading branch information
1 parent
843c572
commit f5bff12
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -309,7 +309,9 @@ standard-version -t @scope/package\@ | |
|
||
This will prefix your tags to look something like `@scope/[email protected]` | ||
|
||
If you do not want to have any tag prefix you can use the `-t` flag without value. | ||
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. | ||
|
||
> Note: simply -t or --tag-prefix without any value will fallback to the default 'v' | ||
### CLI Help | ||
|
||
|
@@ -368,9 +370,7 @@ As of version `7.1.0` you can configure multiple `bumpFiles` and `packageFiles`. | |
|
||
1. Specify a custom `bumpFile` "`filename`", this is the path to the file you want to "bump" | ||
2. Specify the `bumpFile` "`updater`", this is _how_ the file will be bumped. | ||
|
||
a. If you're using a common type, you can use one of `standard-version`'s built-in `updaters` by specifying a `type`. | ||
|
||
b. If your using an less-common version file, you can create your own `updater`. | ||
|
||
```js | ||
|