seoz pushed a commit to branch master.

http://git.enlightenment.org/admin/release-management.git/commit/?id=7634f01292b0e6ef34f72d9ac31df3efe5df2c59

commit 7634f01292b0e6ef34f72d9ac31df3efe5df2c59
Author: Daniel Juyung Seo <seojuyu...@gmail.com>
Date:   Tue Jul 14 00:06:27 2015 +0900

    release.sh: Handle doc tarballs only for efl and elementary.
---
 release.sh | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/release.sh b/release.sh
index 47e221b..c1a8d6c 100755
--- a/release.sh
+++ b/release.sh
@@ -123,14 +123,17 @@ do_finalize_release()
        then
 
                # only efl and elementary
-               scp $lib-$VERSION-doc.tar.bz2 
download.enlightenment.org:/srv/web/docs.enlightenment.org/public_html/$lib/
-               ssh download.enlightenment.org tar xf 
/srv/web/docs.enlightenment.org/public_html/$lib/$lib-$VERSION-doc.tar.bz2 -C  
/srv/web/docs.enlightenment.org/public_html/$lib/
-               ssh download.enlightenment.org mv 
/srv/web/docs.enlightenment.org/public_html/$lib/$lib-$VERSION-doc/doc/html 
/srv/web/docs.enlightenment.org/public_html/$lib/$VERSION_SIMPLE
-               ssh download.enlightenment.org rm -r 
/srv/web/docs.enlightenment.org/public_html/$lib/$lib-$VERSION-doc
-               ssh download.enlightenment.org rm 
/srv/web/docs.enlightenment.org/public_html/$lib/$lib-$VERSION-doc.tar.bz2
-
-               ssh download.enlightenment.org rm 
/srv/web/docs.enlightenment.org/public_html/$lib/current
-               ssh download.enlightenment.org ln -s 
/srv/web/docs.enlightenment.org/public_html/$lib/$VERSION_SIMPLE 
/srv/web/docs.enlightenment.org/public_html/$lib/current
+               if [ $lib = "efl" -o $lib = "elementary" ]
+               then
+                       scp $lib-$VERSION-doc.tar.bz2 
download.enlightenment.org:/srv/web/docs.enlightenment.org/public_html/$lib/
+                       ssh download.enlightenment.org tar xf 
/srv/web/docs.enlightenment.org/public_html/$lib/$lib-$VERSION-doc.tar.bz2 -C  
/srv/web/docs.enlightenment.org/public_html/$lib/
+                       ssh download.enlightenment.org mv 
/srv/web/docs.enlightenment.org/public_html/$lib/$lib-$VERSION-doc/doc/html 
/srv/web/docs.enlightenment.org/public_html/$lib/$VERSION_SIMPLE
+                       ssh download.enlightenment.org rm -r 
/srv/web/docs.enlightenment.org/public_html/$lib/$lib-$VERSION-doc
+                       ssh download.enlightenment.org rm 
/srv/web/docs.enlightenment.org/public_html/$lib/$lib-$VERSION-doc.tar.bz2
+
+                       ssh download.enlightenment.org rm 
/srv/web/docs.enlightenment.org/public_html/$lib/current
+                       ssh download.enlightenment.org ln -s 
/srv/web/docs.enlightenment.org/public_html/$lib/$VERSION_SIMPLE 
/srv/web/docs.enlightenment.org/public_html/$lib/current
+               fi
        fi
 
        cd ..

-- 


Reply via email to