Merge pull request #11237 from YoyinZyc/prevent-darwin-build

scripts: avoid release builds on darwin machine.
This commit is contained in:
Gyuho Lee
2019-10-11 10:39:14 -07:00
committed by GitHub

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