Browse Source

update release scripts

pull/49/head
Aaron Parecki 3 years ago
parent
commit
9603a475f8
No known key found for this signature in database GPG Key ID: 276C2817346D6056
2 changed files with 4 additions and 2 deletions
  1. +2
    -1
      release-library.sh
  2. +2
    -1
      release.sh

+ 2
- 1
release-library.sh View File

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

+ 2
- 1
release.sh View File

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

Loading…
Cancel
Save