ae47b31091
* Support 32-bit Linux builds * Update README and correct scripts * Use npm run instead of npx
16 lines
No EOL
402 B
Bash
Executable file
16 lines
No EOL
402 B
Bash
Executable file
#!/bin/bash
|
|
|
|
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 .
|
|
else
|
|
cd VSCode-linux-x64
|
|
tar czf ../VSCode-linux-x64-${LATEST_MS_TAG}.tar.gz .
|
|
fi
|
|
|
|
cd ..
|
|
fi |