dist.sh: already uses set "-e", remove "|| exit 1"
This commit is contained in:
parent
7d920c98a6
commit
86c9638572
5
dist.sh
5
dist.sh
@ -1,7 +1,6 @@
|
|||||||
#!/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
|
||||||
|
|
||||||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
echo "working dir $DIR"
|
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}')
|
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