Improve deploying on Mac. Do not include parent folders.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-11-25 16:32:07 +02:00
parent 98ebfd11c6
commit 1c1c84aa28

View File

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