dist.sh: already uses set "-e", remove "|| exit 1"

This commit is contained in:
Pierce Lopez 2017-03-27 18:16:39 -04:00
parent 7d920c98a6
commit 86c9638572

View File

@ -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"