mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
feat(scripts): use zip for windows and darwin
zip files are more common on OSX and windows. Use those file formats for those two platforms.
This commit is contained in:
parent
c34a2b85ed
commit
a00bf38f16
@ -47,5 +47,9 @@ for i in darwin windows linux; do
|
||||
package etcd ${TARGET}
|
||||
package etcdctl ${TARGET}
|
||||
|
||||
if [ ${GOOS} == "linux" ]; then
|
||||
tar cvvfz ${TARGET}.tar.gz ${TARGET}
|
||||
else
|
||||
zip -r ${TARGET}.zip ${TARGET}
|
||||
fi
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user