try using git archive vs tar
This commit is contained in:
parent
8147d76403
commit
94599fd946
@ -23,7 +23,8 @@ if [ "$TRAVIS" = "true" ]; then
|
|||||||
|
|
||||||
echo "creating tarball"
|
echo "creating tarball"
|
||||||
cd /tmp
|
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"
|
echo "running rsync"
|
||||||
rsync -ahP --delete-after /tmp/$TAR_NAME downloads@phpvms.net:/var/www/downloads/
|
rsync -ahP --delete-after /tmp/$TAR_NAME downloads@phpvms.net:/var/www/downloads/
|
||||||
|
Loading…
Reference in New Issue
Block a user