1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-04 03:11:55 +02:00

docs: improve hooks

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos Alexandro Becker 2021-09-22 23:42:59 -03:00
parent efb4bce9e4
commit c718d9a27c
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -7,7 +7,7 @@ Some release cycles may need run something before or after everything else.
GoReleaser allows this with the global hooks feature.
=== "OSS"
The `before` section allows for global hooks that will be executed before the release is started.
The `before` section allows for global hooks that will be executed **before** the release is started.
The configuration is straightforward, here is an example will all possible options:
@ -26,8 +26,8 @@ GoReleaser allows this with the global hooks feature.
!!! success "GoReleaser Pro"
Global after hooks and the additional options in before hooks (`dir` and `env`) are [GoReleaser Pro features](/pro/).
The `before` section allows for global hooks that will be executed before the release is started.
Likewise, the `after` section allows for global hooks that will be executed before the release is started.
The `before` section allows for global hooks that will be executed **before** the release is started.
Likewise, the `after` section allows for global hooks that will be executed **after** the release is started.
The configuration is straightforward, here is an example will all possible options: