Deploy from Mac OS X .tar.gz archive because .zip doesn't save executable

permissions.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-12-26 13:37:02 +02:00
parent d8f9bde7b3
commit 1e1f3cb9c6

View File

@ -80,7 +80,7 @@ notifications:
before_deploy:
- |
if [[ "$DEPLOY" == "true" ]]; then
zip -r valentina-osx-${TRAVIS_COMMIT}.zip $TRAVIS_BUILD_DIR/build/src/app/valentina/bin/Valentina.app/ -x "*.DS_Store";
tar --exclude "*.DS_Store" -cvzf valentina-osx-${TRAVIS_COMMIT}.tar.gz $TRAVIS_BUILD_DIR/build/src/app/valentina/bin/Valentina.app/;
fi
deploy:
provider: bintray