create_zip.sh 318 B

123456789101112131415
  1. #!/bin/bash
  2. set -ex
  3. if [[ "$SHOULD_BUILD" == "yes" ]]; then
  4. if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
  5. cd VSCode-darwin
  6. zip -r -X -y ../VSCodium-darwin-${LATEST_MS_TAG}.zip ./*.app
  7. else
  8. cd VSCode-linux-${BUILDARCH}
  9. tar czf ../VSCodium-linux-${BUILDARCH}-${LATEST_MS_TAG}.tar.gz .
  10. fi
  11. cd ..
  12. fi