Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
Update hook options flag, --hooks-opt instead of --hooks-opts
Change typo, exec_on_no_release instead of exec_no_release
Add missing quotes on "echo ..."
  • Loading branch information
coolapso authored and christophwitzko committed Feb 20, 2024
1 parent 7955531 commit 432aecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Use this plugin by enabling it via `--hooks exec`.
## Configuration
There are two possible scripts that can be executed during the release process: (i) the success script, if the release was successful, and (ii) the no release script, if the was not created for a specific reason.

The scripts are configured via the `--hooks-opts exec_on_success="echo v{{.NewRelease.Version}} "` and `--hooks-opts exec_no_release= echo {{.Reason}}` flags. Additionally, they `.semrelrc` file can be used to configure the scripts:
The scripts are configured via the `--hooks-opt exec_on_success="echo v{{.NewRelease.Version}} "` and `--hooks-opt exec_on_no_release="echo {{.Reason}}"` flags. Additionally, they `.semrelrc` file can be used to configure the scripts:
```json
{
"plugins": {
Expand Down

0 comments on commit 432aecc

Please sign in to comment.