Travis: Remove .git dirs from vendor/ dir when deploying

See https://github.com/picocms/Pico/issues/289#issuecomment-159722672 - thanks to @joshas for spotting
This commit is contained in:
Daniel Rudolf 2015-11-25 23:38:22 +01:00
parent 4ddde6b9fb
commit 38d2dd2e20

View file

@ -19,6 +19,7 @@ script:
before_deploy:
- composer install
- composer dump-autoload --optimize
- find vendor/ -type d -path 'vendor/*/*/.git' -print0 | xargs -0 rm -rf
- tar -czf "pico-release-$TRAVIS_TAG.tar.gz" .htaccess README.md CHANGELOG.md CONTRIBUTING.md composer.json composer.lock LICENSE config content-sample lib plugins themes vendor index.php
deploy: