2018-08-13 18:14:15 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-08-13 21:24:40 +03:00
|
|
|
if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
|
|
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
|
|
|
cd VSCode-darwin
|
2018-10-30 17:54:21 +03:00
|
|
|
zip -r -X -y ../VSCode-darwin-${LATEST_MS_TAG}.zip ./*
|
2018-10-05 01:05:05 +03:00
|
|
|
elif [[ "$BUILDARCH" == "ia32" ]]; then
|
|
|
|
cd VSCode-linux-ia32
|
|
|
|
tar czf ../VSCode-linux-ia32-${LATEST_MS_TAG}.tar.gz .
|
2018-10-10 18:20:56 +03:00
|
|
|
elif [[ "$BUILDARCH" == "arm64" ]]; then
|
|
|
|
cd VSCode-linux-arm64
|
|
|
|
tar czf ../VSCode-linux-arm64-${LATEST_MS_TAG}.tar.gz .
|
2018-08-13 21:24:40 +03:00
|
|
|
else
|
|
|
|
cd VSCode-linux-x64
|
2018-08-15 18:59:54 +03:00
|
|
|
tar czf ../VSCode-linux-x64-${LATEST_MS_TAG}.tar.gz .
|
2018-08-13 21:24:40 +03:00
|
|
|
fi
|
2018-08-13 18:14:15 +03:00
|
|
|
|
2018-08-13 21:24:40 +03:00
|
|
|
cd ..
|
|
|
|
fi
|