commit 80958d46b0ea953e76421c8cb2d169004de50bc3 parent b815da4224524068b063ab5f8c2fd4fc3fd46a43 Author: root <root@taler.net> Date: Mon, 8 Aug 2016 15:26:59 +0200 Merge branch 'master' of /var/git/deployment Diffstat:
| M | taler-build/switch_active.sh | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/taler-build/switch_active.sh b/taler-build/switch_active.sh @@ -8,8 +8,11 @@ set -eu -if ! taler-deployment-build; then +if ! taler-deployment-build > build.log 2>&1; then echo "Failed to rebuild, not switching" + if test "$1" = "--notify"; then + mail -s "[Taler build] $(date)" build-failure@taler.net < build.log + fi exit 1 else echo "Successfully built, switching"