|
@ -6,6 +6,7 @@ current=`pwd` |
|
|
|
|
|
|
|
|
composer install --no-dev |
|
|
composer install --no-dev |
|
|
|
|
|
|
|
|
|
|
|
rm $release_dir/xray-library.zip |
|
|
rsync -ap --delete controllers $release_dir/ |
|
|
rsync -ap --delete controllers $release_dir/ |
|
|
rsync -ap --delete lib $release_dir/ |
|
|
rsync -ap --delete lib $release_dir/ |
|
|
rsync -ap --delete public $release_dir/ |
|
|
rsync -ap --delete public $release_dir/ |
|
@ -18,6 +19,6 @@ cp .htaccess $release_dir/ |
|
|
cp controllers/.htaccess $release_dir/vendor/ |
|
|
cp controllers/.htaccess $release_dir/vendor/ |
|
|
|
|
|
|
|
|
cd $release_dir |
|
|
cd $release_dir |
|
|
zip -r xray.zip . |
|
|
|
|
|
|
|
|
zip -r xray-library.zip . |
|
|
|
|
|
|
|
|
cd $current |
|
|
cd $current |