create_zip.sh 421 B

12345678910111213141516
  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. elif [[ "$BUILDARCH" == "arm64" ]]; then
  7. cd VSCode-linux-arm64
  8. tar czf ../VSCodium-linux-arm64-${LATEST_MS_TAG}.tar.gz .
  9. else
  10. cd VSCode-linux-x64
  11. tar czf ../VSCodium-linux-x64-${LATEST_MS_TAG}.tar.gz .
  12. fi
  13. cd ..
  14. fi