directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1751548 - /directory/studio/trunk/dist/dist.sh
Date Tue, 05 Jul 2016 20:12:00 GMT
Author: seelmann
Date: Tue Jul  5 20:12:00 2016
New Revision: 1751548

URL: http://svn.apache.org/viewvc?rev=1751548&view=rev
Log:
Adapt dist script to new folder structure

Modified:
    directory/studio/trunk/dist/dist.sh

Modified: directory/studio/trunk/dist/dist.sh
URL: http://svn.apache.org/viewvc/directory/studio/trunk/dist/dist.sh?rev=1751548&r1=1751547&r2=1751548&view=diff
==============================================================================
--- directory/studio/trunk/dist/dist.sh (original)
+++ directory/studio/trunk/dist/dist.sh Tue Jul  5 20:12:00 2016
@@ -35,25 +35,10 @@ if [ -e "$TARGET_DIR" ]; then
 fi
 
 echo
-echo "### Creating dist folders"
+echo "### Creating dist folder"
 DIST_DIR=${TARGET_DIR}/${VERSION}
-UPDATE_SITE_DIR=${TARGET_DIR}/update/${VERSION}
 mkdir -p ${DIST_DIR}
-mkdir -p ${UPDATE_SITE_DIR}
-
-echo
-echo "### Copying update sites"
-cp -a ../p2repositories/dependencies/target/repository ${UPDATE_SITE_DIR}/dependencies
-cp -a ../p2repositories/eclipse/target/repository ${UPDATE_SITE_DIR}/eclipse
 
-echo
-echo "### Signing update sites"
-cd ${UPDATE_SITE_DIR}/dependencies
-sh ${WORK_DIR}/sign.sh
-zip -r ${DIST_DIR}/ApacheDirectoryStudio-${VERSION}-p2repository-dependencies.zip *
-cd ${UPDATE_SITE_DIR}/eclipse
-sh ${WORK_DIR}/sign.sh
-zip -r ${DIST_DIR}/ApacheDirectoryStudio-${VERSION}-p2repository.zip *
 
 echo
 echo "### Copying dist files"
@@ -88,5 +73,23 @@ echo "### Signing dist files"
 sh ${WORK_DIR}/sign.sh
 
 echo
+echo "### Copying update sites"
+UPDATE_SITE_DIR=${TARGET_DIR}/${VERSION}/update
+mkdir -p ${UPDATE_SITE_DIR}
+cd ${WORK_DIR}
+cp -a ../p2repositories/dependencies/target/repository ${UPDATE_SITE_DIR}/dependencies
+cp -a ../p2repositories/eclipse/target/repository ${UPDATE_SITE_DIR}/eclipse
+
+echo
+echo "### Signing update sites"
+cd ${UPDATE_SITE_DIR}/dependencies
+sh ${WORK_DIR}/sign.sh
+zip -r ${DIST_DIR}/ApacheDirectoryStudio-${VERSION}-p2repository-dependencies.zip *
+cd ${UPDATE_SITE_DIR}/eclipse
+sh ${WORK_DIR}/sign.sh
+zip -r ${DIST_DIR}/ApacheDirectoryStudio-${VERSION}-p2repository.zip *
+
+
+echo
 echo "### Success"
 



Mime
View raw message