Permalink
Browse files

Updated archiveExport to use git

  • Loading branch information...
1 parent be62c3d commit ca17fea6fea9364433ef52298a60cc533c91ec4b @davidroth davidroth committed May 18, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 archiveExport.sh
View
@@ -6,13 +6,14 @@ rm -rf /tmp/$VERSION/
mkdir /tmp/$VERSION/
mkdir /tmp/$VERSION/chive/
echo exporting to /tmp/$VERSION/chive/
-bzr export /tmp/$VERSION/chive/
+git checkout-index -f -a --prefix=/tmp/$VERSION/chive/
chmod 0777 -R /tmp/$VERSION/chive/assets
chmod 0777 -R /tmp/$VERSION/chive/protected/runtime/
cd /tmp/$VERSION/
touch chive/index_changed.php
cat chive/index.php | sed "s/'YII_DEBUG', true/'YII_DEBUG', false/" >> chive/index_changed.php
+rm chive/.gitignore
rm chive/index.php
rm chive/archiveExport.sh
rm chive/protected/tests -rf
@@ -33,4 +34,4 @@ echo 'Run phar export ...'
rm pharExport.php
# Delete JSMin
-rm jsmin jsmin.c
+rm jsmin jsmin.c

0 comments on commit ca17fea

Please sign in to comment.