vscodium/create_zip.sh

16 lines
402 B
Bash
Raw Normal View History

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
zip -r ../VSCode-darwin-${LATEST_MS_TAG}.zip ./*
elif [[ "$BUILDARCH" == "ia32" ]]; then
cd VSCode-linux-ia32
tar czf ../VSCode-linux-ia32-${LATEST_MS_TAG}.tar.gz .
2018-08-13 14:24:40 -04:00
else
cd VSCode-linux-x64
tar czf ../VSCode-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