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.
release-0.4
Brandon Philips 2014-02-09 12:11:14 -08:00
parent c34a2b85ed
commit a00bf38f16
1 changed files with 5 additions and 1 deletions

View File

@ -47,5 +47,9 @@ for i in darwin windows linux; do
package etcd ${TARGET}
package etcdctl ${TARGET}
tar cvvfz ${TARGET}.tar.gz ${TARGET}
if [ ${GOOS} == "linux" ]; then
tar cvvfz ${TARGET}.tar.gz ${TARGET}
else
zip -r ${TARGET}.zip ${TARGET}
fi
done