commit d17b2f3004afce7af19de65feb72885cf8fabd36 parent 4d9abc1b70d48a621efa3c9f23812a455c32d99c Author: Marcello Stanisci <marcello.stanisci@inria.fr> Date: Mon, 4 Jul 2016 11:15:01 +0200 #4366 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 2>&1 | tee build.log; then echo "Failed to rebuild, not switching" + if test "$1" = "--notify"; then + mail -s "[Taler build] $(date)" --to build-failure@taler.net build.log + fi exit 1 else echo "Successfully built, switching"