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:
parent
4ddde6b9fb
commit
38d2dd2e20
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue