mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #11237 from YoyinZyc/prevent-darwin-build
scripts: avoid release builds on darwin machine.
This commit is contained in:
commit
0824b08cab
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user