Skip to content

Commit

Permalink
docs: mention tagName
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoban committed Apr 18, 2024
1 parent 8731366 commit b97a1c5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@ Check files content at [.release-it.json](./src/bin/release-it.txt) and [.github
release-it-pnpm
```

By default, release-it will not add a `v` prefix for the tag name, useless there already is one tag with the `v` prefix. You can explicitly set the `tagName` in `.release-it.json`:

```json
{
"git": {
"tagName": "v${version}"
}
}
```

> [!TIP]
> guard with [should-semantic-release](https://github.com/JoshuaKGoldberg/should-semantic-release)
Expand Down

0 comments on commit b97a1c5

Please sign in to comment.