Browse Source

update composer, adds release script

release script builds a zip file for releases
pull/39/head
Aaron Parecki 4 years ago
parent
commit
898281bbc7
No known key found for this signature in database GPG Key ID: 276C2817346D6056
2 changed files with 26 additions and 5 deletions
  1. +5
    -5
      composer.lock
  2. +21
    -0
      release.sh

+ 5
- 5
composer.lock View File

@ -94,16 +94,16 @@
},
{
"name": "indieweb/link-rel-parser",
"version": "0.1.2",
"version": "0.1.3",
"source": {
"type": "git",
"url": "https://github.com/indieweb/link-rel-parser-php.git",
"reference": "7127a92f32cecbf8166fb3b34130a59ea63e2041"
"reference": "295420e4f16d9a9d262a3c25a7a583794428f055"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/indieweb/link-rel-parser-php/zipball/7127a92f32cecbf8166fb3b34130a59ea63e2041",
"reference": "7127a92f32cecbf8166fb3b34130a59ea63e2041",
"url": "https://api.github.com/repos/indieweb/link-rel-parser-php/zipball/295420e4f16d9a9d262a3c25a7a583794428f055",
"reference": "295420e4f16d9a9d262a3c25a7a583794428f055",
"shasum": ""
},
"require": {
@ -136,7 +136,7 @@
"indieweb",
"microformats2"
],
"time": "2016-04-13T17:48:59+00:00"
"time": "2017-01-11T17:14:49+00:00"
},
{
"name": "ircmaxell/password-compat",

+ 21
- 0
release.sh View File

@ -0,0 +1,21 @@
#!/bin/bash
release_dir=../XRay-release
current=`pwd`
rsync -ap --delete controllers $release_dir/
rsync -ap --delete lib $release_dir/
rsync -ap --delete public $release_dir/
rsync -ap --delete views $release_dir/
rsync -ap --delete --exclude=.git vendor $release_dir/
cp README.md $release_dir/
cp LICENSE.txt $release_dir/
cp index.php $release_dir/
cp .htaccess $release_dir/
cp controllers/.htaccess $release_dir/vendor/
cd $release_dir
zip -r xray.zip .
cd $current

Loading…
Cancel
Save