From 94599fd946207b19f21cb08a4c26a929721484b0 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Sun, 17 Dec 2017 12:04:20 -0600 Subject: [PATCH] try using git archive vs tar --- .travis/deploy_script.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis/deploy_script.sh b/.travis/deploy_script.sh index 775c9dfc..47140083 100755 --- a/.travis/deploy_script.sh +++ b/.travis/deploy_script.sh @@ -23,7 +23,8 @@ if [ "$TRAVIS" = "true" ]; then echo "creating tarball" cd /tmp - tar -czf $TAR_NAME -C $TRAVIS_BUILD_DIR/../ phpvms phpvms/.* + #tar -czf $TAR_NAME -C $TRAVIS_BUILD_DIR/../ phpvms phpvms/.* + git archive --format=tar --prefix=phpvms/ --output=$TAR_NAME HEAD $TRAVIS_BUILD_DIR/phpvms/ echo "running rsync" rsync -ahP --delete-after /tmp/$TAR_NAME downloads@phpvms.net:/var/www/downloads/