From 86c9638572f3cf7839e087d1ade3db69c33cec6b Mon Sep 17 00:00:00 2001 From: Pierce Lopez Date: Mon, 27 Mar 2017 18:16:39 -0400 Subject: [PATCH] dist.sh: already uses set "-e", remove "|| exit 1" --- dist.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dist.sh b/dist.sh index 3bc45ba..27a31a0 100755 --- a/dist.sh +++ b/dist.sh @@ -1,7 +1,6 @@ #!/bin/bash - # build binary distributions for linux/amd64 and darwin/amd64 -set -e +set -e DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" echo "working dir $DIR" @@ -16,7 +15,7 @@ version=$(cat $DIR/version.go | grep "const VERSION" | awk '{print $NF}' | sed ' goversion=$(go version | awk '{print $3}') echo "... running tests" -./test.sh || exit 1 +./test.sh for os in windows linux darwin; do echo "... building v$version for $os/$arch"