vscodium/create_zip.sh

14 lines
309 B
Bash
Raw Normal View History

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
2019-04-24 03:14:24 +03:00
zip -r -X -y ../VSCodium-darwin-${LATEST_MS_TAG}.zip ./*.app
2018-08-13 21:24:40 +03:00
else
2019-12-10 18:28:28 +03:00
cd VSCode-linux-${BUILDARCH}
tar czf ../VSCodium-linux-${BUILDARCH}-${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 ..
2019-12-10 18:28:28 +03:00
fi