create_zip.sh 309 B

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