From 8bce27606b5a1d6379d859246c97d2055eeeffec Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Thu, 27 May 2021 14:47:38 -0300 Subject: [PATCH] docs: hooks --- www/docs/customization/hooks.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/www/docs/customization/hooks.md b/www/docs/customization/hooks.md index 1fbcbc1ed..79ca6f148 100644 --- a/www/docs/customization/hooks.md +++ b/www/docs/customization/hooks.md @@ -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.