modified build scripts for mac and win32

This commit is contained in:
itsmattkc
2019-09-11 02:03:05 +10:00
parent c130bb78e2
commit 0f5877e1a3
3 changed files with 15 additions and 10 deletions
+7 -7
View File
@@ -21,21 +21,21 @@ then
echo "[INFO] Still current. Uploading..."
# retrieve upload tool
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
#wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
#if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
# upload final package
bash upload.sh Olive*.zip
#bash upload.sh Olive*.zip
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
#elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
#find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
# upload final package
bash upload.sh Olive*.AppImage*
#bash upload.sh Olive*.AppImage*
fi
#fi
else
+1 -1
View File
@@ -16,7 +16,7 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
python2 macdeployqtfix.py Olive.app/Contents/MacOS/Olive /usr/local/Cellar/qt5/5.*/
# Distribute in zip
zip -r Olive-$(git rev-parse --short HEAD)-macOS.zip Olive.app
zip -r Olive-$(git rev-parse --short HEAD)-macOS.zip app/Olive.app
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then