You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
477 B

  1. #!/bin/bash
  2. release_dir=../XRay-release
  3. current=`pwd`
  4. rsync -ap --delete controllers $release_dir/
  5. rsync -ap --delete lib $release_dir/
  6. rsync -ap --delete public $release_dir/
  7. rsync -ap --delete views $release_dir/
  8. rsync -ap --delete --exclude=.git vendor $release_dir/
  9. cp README.md $release_dir/
  10. cp LICENSE.txt $release_dir/
  11. cp index.php $release_dir/
  12. cp .htaccess $release_dir/
  13. cp controllers/.htaccess $release_dir/vendor/
  14. cd $release_dir
  15. zip -r xray.zip .
  16. cd $current