scripts: avoid release builds on darwin machine.

release-3.5
yoyinzyc 2019-10-10 17:18:14 -07:00
parent 5c883280df
commit b9358a0bc8
1 changed files with 2 additions and 1 deletions

View File

@ -59,7 +59,8 @@ function main {
tarcmd=tar
if [[ $(go env GOOS) == "darwin" ]]; then
tarcmd=gtar
echo "Please use linux machine for release builds."
exit 1
fi
for os in darwin windows linux; do