mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-24 04:16:27 +02:00
docs: hooks
This commit is contained in:
parent
89d5692afe
commit
8bce27606b
@ -21,6 +21,12 @@ before:
|
||||
|
||||
If any of the hooks fails the build process is aborted.
|
||||
|
||||
## Complex commands
|
||||
|
||||
If you need to do anything more complex, it is recommended to create a shell script and call it instead.
|
||||
You can also go crazy with `sh -c "my commands"`, but it gets ugly real fast.
|
||||
|
||||
|
||||
## Pro Features
|
||||
|
||||
With [GoReleaser Pro](/pro), things are a bit more flexible: you can specify the dir, enviroment variables and also global after hooks.
|
||||
@ -57,8 +63,3 @@ after:
|
||||
|
||||
!!! tip
|
||||
Learn more about the [name template engine](/customization/templates/).
|
||||
|
||||
## Complex commands
|
||||
|
||||
If you need to do anything more complex, it is recommended to create a shell script and call it instead.
|
||||
You can also go crazy with `sh -c "my commands"`, but it gets ugly real fast.
|
||||
|
Loading…
x
Reference in New Issue
Block a user