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

scripts: avoid release builds on darwin machine.
release-3.5
Gyuho Lee 2019-10-11 10:39:14 -07:00 committed by GitHub
commit 0824b08cab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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