From 384bbb56d634496863eeda201aedd1f81424ec41 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Sun, 17 Dec 2017 12:07:23 -0600 Subject: [PATCH] fix tar generation --- .travis/deploy_script.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis/deploy_script.sh b/.travis/deploy_script.sh index 47140083..57819f6c 100755 --- a/.travis/deploy_script.sh +++ b/.travis/deploy_script.sh @@ -22,9 +22,8 @@ if [ "$TRAVIS" = "true" ]; then php artisan version:show --format compact --suppress-app-name > VERSION echo "creating tarball" - cd /tmp #tar -czf $TAR_NAME -C $TRAVIS_BUILD_DIR/../ phpvms phpvms/.* - git archive --format=tar --prefix=phpvms/ --output=$TAR_NAME HEAD $TRAVIS_BUILD_DIR/phpvms/ + git archive --format=tar --prefix=phpvms/ --output=/tmp/$TAR_NAME HEAD echo "running rsync" rsync -ahP --delete-after /tmp/$TAR_NAME downloads@phpvms.net:/var/www/downloads/