2018-08-13 11:14:15 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-08-13 14:24:40 -04:00
|
|
|
if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
|
|
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
|
|
|
cd VSCode-darwin
|
2019-04-23 20:14:24 -04:00
|
|
|
zip -r -X -y ../VSCodium-darwin-${LATEST_MS_TAG}.zip ./*.app
|
2018-10-04 18:05:05 -04:00
|
|
|
elif [[ "$BUILDARCH" == "ia32" ]]; then
|
|
|
|
cd VSCode-linux-ia32
|
2019-01-10 14:55:28 -05:00
|
|
|
tar czf ../VSCodium-linux-ia32-${LATEST_MS_TAG}.tar.gz .
|
2018-10-10 11:20:56 -04:00
|
|
|
elif [[ "$BUILDARCH" == "arm64" ]]; then
|
|
|
|
cd VSCode-linux-arm64
|
2019-01-10 14:55:28 -05:00
|
|
|
tar czf ../VSCodium-linux-arm64-${LATEST_MS_TAG}.tar.gz .
|
2018-08-13 14:24:40 -04:00
|
|
|
else
|
|
|
|
cd VSCode-linux-x64
|
2019-01-10 14:55:28 -05:00
|
|
|
tar czf ../VSCodium-linux-x64-${LATEST_MS_TAG}.tar.gz .
|
2018-08-13 14:24:40 -04:00
|
|
|
fi
|
2018-08-13 11:14:15 -04:00
|
|
|
|
2018-08-13 14:24:40 -04:00
|
|
|
cd ..
|
|
|
|
fi
|