This commit is contained in:
Chris Esposito 2019-06-23 15:04:34 +10:00
parent 2851e82a82
commit c1c21236a1
2 changed files with 3 additions and 3 deletions

View File

@ -70,12 +70,12 @@ after_success:
- |
# OSX
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
export UPLOADTOOL_SUFFIX=osx-dmg
export UPLOADTOOL_SUFFIX="macOS"
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
bash upload.sh bin/Labrador.dmg
# Linux
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
export UPLOADTOOL_SUFFIX=linux-appimage
export UPLOADTOOL_SUFFIX="Linux"
find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
# curl --upload-file EspoTek_Labrador*.AppImage https://transfer.sh/EspoTek_Labrador-git.$(git rev-parse --short HEAD)-x86_64.AppImage
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh

View File

@ -6,4 +6,4 @@ rm -R deb
make INSTALL_ROOT=deb install; find deb/
cp -r resources/debian deb/DEBIAN
dpkg-deb --build deb
mv deb.deb Espotek_Labrador-$(git rev-parse --short HEAD)-x64.deb
mv deb.deb EspoTek_Labrador-$(git rev-parse --short HEAD)-x64.deb