Skip to content

Commit

Permalink
Add comment re. quoting CLI hook arguments (closes #865)
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Apr 9, 2022
1 parent 0e0ad33 commit ea11a0d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -271,6 +271,12 @@ Use `--verbose` to log the output of the commands.
For the sake of verbosity, the full list of hooks is actually: `init`, `beforeBump`, `bump`, `beforeRelease`, `release`
or `afterRelease`. However, hooks like `before:beforeRelease` look weird and are usually not useful in practice.

Note that arguments need to be quoted properly when used from the command line:

```bash
release-it --'hooks.after:release="echo Successfully released ${name} v${version} to ${repo.repository}."'
```

## Plugins

Since v11, release-it can be extended in many, many ways. Here are some plugins:
Expand Down

0 comments on commit ea11a0d

Please sign in to comment.