seoz pushed a commit to branch master.

http://git.enlightenment.org/admin/release-management.git/commit/?id=90aec0c6deaefeeea9d8738023acf9d5020f922a

commit 90aec0c6deaefeeea9d8738023acf9d5020f922a
Author: Daniel Juyung Seo <seojuyu...@gmail.com>
Date:   Wed Aug 26 17:02:19 2015 +0900

    release.sh: Merge two if statements into one.
    
    This also avoids unnecessary ssh command for the stable release. (was line 
115)
---
 release.sh | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/release.sh b/release.sh
index c1a8d6c..8b2120a 100755
--- a/release.sh
+++ b/release.sh
@@ -111,16 +111,8 @@ do_finalize_release()
                ssh download.enlightenment.org mv 
/srv/web/download.enlightenment.org/public_html/pre-releases/$lib-$VERSION-pre.tar.xz
 
/srv/web/download.enlightenment.org/public_html/rel/libs/$lib/$lib-$VERSION.tar.xz
                ssh download.enlightenment.org mv 
/srv/web/download.enlightenment.org/public_html/pre-releases/$lib-$VERSION-pre.tar.gz.sha256
 
/srv/web/download.enlightenment.org/public_html/rel/libs/$lib/$lib-$VERSION.tar.gz.sha256
                ssh download.enlightenment.org mv 
/srv/web/download.enlightenment.org/public_html/pre-releases/$lib-$VERSION-pre.tar.xz.sha256
 
/srv/web/download.enlightenment.org/public_html/rel/libs/$lib/$lib-$VERSION.tar.xz.sha256
-       fi
-       ssh download.enlightenment.org mv 
/srv/web/download.enlightenment.org/public_html/pre-releases/$lib-$VERSION.tar.*
 /srv/web/download.enlightenment.org/public_html/rel/libs/$lib/
-#      if [ $MAJOR = 1 ]
-#      then
-#              Sed version to .99 and dev mode
-#              git push origin
-#      fi
-
-       if [ $MAJOR = 1 ]
-       then
+       else
+               ssh download.enlightenment.org mv 
/srv/web/download.enlightenment.org/public_html/pre-releases/$lib-$VERSION.tar.*
 /srv/web/download.enlightenment.org/public_html/rel/libs/$lib/
 
                # only efl and elementary
                if [ $lib = "efl" -o $lib = "elementary" ]
@@ -134,6 +126,9 @@ do_finalize_release()
                        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
+
+#              Sed version to .99 and dev mode
+#              git push origin
        fi
 
        cd ..

-- 


Reply via email to