git release: stop if pre-release hook fails

This commit is contained in:
spacewander 2017-05-02 14:59:18 +08:00
parent d01ad47953
commit 3428b278d3

View file

@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -e
hook() {
local hook=.git/hooks/$1.sh