diff --git a/scripts/binary/zip.coffee b/scripts/binary/zip.coffee index a203cb3693..7f8ba80db9 100644 --- a/scripts/binary/zip.coffee +++ b/scripts/binary/zip.coffee @@ -29,7 +29,8 @@ macZip = (src, dest) -> # resolves with zipped filename linuxZip = (src, dest) -> - cmd = "tar -zcvf #{dest} #{src}" + # cmd = "tar -zcvf #{dest} #{src}" + cmd = "zip -r #{dest} #{src}" console.log("linux zip: #{cmd}") execa.shell(cmd) .then((result) -> @@ -43,7 +44,7 @@ linuxZip = (src, dest) -> ) zippers = { - linux: macZip + linux: linuxZip darwin: macZip } diff --git a/scripts/build-linux-binary.sh b/scripts/build-linux-binary.sh index 819608dbcf..0a9b25bb4a 100755 --- a/scripts/build-linux-binary.sh +++ b/scripts/build-linux-binary.sh @@ -9,17 +9,11 @@ docker pull $name echo "Starting Docker image with monorepo volume attached" echo "In order to build Cypress Linux binary" -echo Command npm run binary-build -- "$@" +echo Command npm run binary-deploy -- "$@" -# for now just run shell in the Docker container -# and then the user can go through the deploy docker run \ -e npm_config_loglevel='warn' \ -v $PWD:/home/person/cypress-monorepo \ -w /home/person/cypress-monorepo \ -it $name \ - npm run binary-build -- "$@" - -# /bin/bash -# todo: grab / compute the version to build - + npm run binary-deploy -- "$@"