mirror of
https://github.com/VSCodium/vscodium.git
synced 2024-12-12 16:03:26 +03:00
c1bdb38d45
* Add arm64 build support thanks to @435vic
19 lines
531 B
Bash
Executable File
19 lines
531 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 .
|
|
elif [[ "$BUILDARCH" == "arm64" ]]; then
|
|
cd VSCode-linux-arm64
|
|
tar czf ../VSCode-linux-arm64-${LATEST_MS_TAG}.tar.gz .
|
|
else
|
|
cd VSCode-linux-x64
|
|
tar czf ../VSCode-linux-x64-${LATEST_MS_TAG}.tar.gz .
|
|
fi
|
|
|
|
cd ..
|
|
fi |