Skip to content

Commit 432aecc

Browse files
coolapsochristophwitzko
authored andcommitted
docs: update README
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 ..."
1 parent 7955531 commit 432aecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Use this plugin by enabling it via `--hooks exec`.
1111
## Configuration
1212
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.
1313

14-
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:
14+
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:
1515
```json
1616
{
1717
"plugins": {

0 commit comments

Comments
 (0)