Get build working

This commit is contained in:
Peter Squicciarini
2018-08-13 14:24:40 -04:00
parent 83847916ca
commit 206f1e77e2
6 changed files with 63 additions and 30 deletions

View File

@@ -1,11 +1,13 @@
#!/bin/bash
if [[ "$TRAVIS_OS_NAME" === "osx" ]]; then
cd VSCode-darwin
zip -r ../VSCode-darwin-${TRAVIS_TAG}.zip ./*
else
cd VSCode-linux-x64
zip -r ../VSCode-linux-x64-${TRAVIS_TAG}.zip ./*
fi
if [[ "$SHOULD_BUILD" == "yes" ]]; then
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
cd VSCode-darwin
zip -r ../VSCode-darwin-${LATEST_MS_TAG}.zip ./*
else
cd VSCode-linux-x64
zip -r ../VSCode-linux-x64-${LATEST_MS_TAG}.zip ./*
fi
cd ..
cd ..
fi