dist.sh: already uses set "-e", remove "|| exit 1"
This commit is contained in:
parent
7d920c98a6
commit
86c9638572
3
dist.sh
3
dist.sh
@ -1,5 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# build binary distributions for linux/amd64 and darwin/amd64
|
# build binary distributions for linux/amd64 and darwin/amd64
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
@ -16,7 +15,7 @@ version=$(cat $DIR/version.go | grep "const VERSION" | awk '{print $NF}' | sed '
|
|||||||
goversion=$(go version | awk '{print $3}')
|
goversion=$(go version | awk '{print $3}')
|
||||||
|
|
||||||
echo "... running tests"
|
echo "... running tests"
|
||||||
./test.sh || exit 1
|
./test.sh
|
||||||
|
|
||||||
for os in windows linux darwin; do
|
for os in windows linux darwin; do
|
||||||
echo "... building v$version for $os/$arch"
|
echo "... building v$version for $os/$arch"
|
||||||
|
Loading…
Reference in New Issue
Block a user