Skip to content

Run hooks inside preferred shell

Compare
Choose a tag to compare
@Misterio77 Misterio77 released this 01 Apr 02:22
· 72 commits to master since this release
addbd72

Hey everyone!

This release includes a new feature, that allows hooks to run inside a shell. This should allow you to use bash (or any other) syntax on your hooks.

The shell is configurable on your config.toml, but defaults to sh -c '{}'. This means it should work by default in any POSIX system. If you use flavours on windows (i'm not sure if someone does?), this will probably be a breaking change, so configure your shell to whatever you use (or set it to {} to get the pre-0.4 behaviour).

Let me know if you have any feedback!