create_zip.sh 379 B

12345678910111213141516
  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. # zip -d ../VSCodium-darwin-${LATEST_MS_TAG}.zip "*.pkg"
  8. else
  9. cd VSCode-linux-${BUILDARCH}
  10. tar czf ../VSCodium-linux-${BUILDARCH}-${LATEST_MS_TAG}.tar.gz .
  11. fi
  12. cd ..
  13. fi