From 4470e0b4500f059ac23bf02b13c632d68aeb3fb2 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Mon, 6 Aug 2018 20:53:48 +0100 Subject: [PATCH] fix: error at first sign License: MIT Signed-off-by: Henrique Dias --- build/build_all.sh | 2 ++ build/push_ricebox.sh | 2 ++ build/release.sh | 2 ++ 3 files changed, 6 insertions(+) diff --git a/build/build_all.sh b/build/build_all.sh index 24860c0e..e64fd371 100755 --- a/build/build_all.sh +++ b/build/build_all.sh @@ -1,5 +1,7 @@ #!/bin/sh +set -e + cd $(dirname $0)/.. if [ -d "rice-box.go" ]; then diff --git a/build/push_ricebox.sh b/build/push_ricebox.sh index 12f1ffd5..137ba83c 100755 --- a/build/push_ricebox.sh +++ b/build/push_ricebox.sh @@ -1,5 +1,7 @@ #!/bin/sh +set -e + cd $(dirname $0) COMMIT_SHA="$(git rev-parse --verify HEAD | cut -c1-8)" diff --git a/build/release.sh b/build/release.sh index cf285d46..6558254d 100644 --- a/build/release.sh +++ b/build/release.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -e + cd $(dirname $0)/.. echo "> Checking semver format"