You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ha...@apache.org on 2010/02/16 18:01:24 UTC

svn commit: r910593 - /camel/scripts/publish_camel_distro.sh

Author: hadrian
Date: Tue Feb 16 17:01:24 2010
New Revision: 910593

URL: http://svn.apache.org/viewvc?rev=910593&view=rev
Log:
Release script fixes

Modified:
    camel/scripts/publish_camel_distro.sh

Modified: camel/scripts/publish_camel_distro.sh
URL: http://svn.apache.org/viewvc/camel/scripts/publish_camel_distro.sh?rev=910593&r1=910592&r2=910593&view=diff
==============================================================================
--- camel/scripts/publish_camel_distro.sh (original)
+++ camel/scripts/publish_camel_distro.sh Tue Feb 16 17:01:24 2010
@@ -41,7 +41,7 @@
 
 wget --no-check-certificate \
  -r -np "--reject=html,txt" "--follow-tags=" \
- -P "${DOWNLOAD}/${VERSION}" -nH "--cut-dirs=3" --ignore-length \
+ -P "${DOWNLOAD}/${VERSION}" -nH "--cut-dirs=3" "--level=1" "--ignore-length" \
  "http://repository.apache.org/content/repositories/releases/org/apache/camel/apache-camel/${VERSION}/"
 
 echo "################################################################################"
@@ -52,9 +52,10 @@
   dest=${comp#*:}
   wget --no-check-certificate \
     -r -np "--reject=html,txt" "--accept=xsd" "--follow-tags=" \
-    -P "${DOWNLOAD}/${VERSION}" -nH "--cut-dirs=3" "--ignore-length" \
+    -P "${DOWNLOAD}/${VERSION}" -nH "--cut-dirs=3" "--level=1" "--ignore-length" \
     "https://repository.apache.org/content/repositories/releases/org/apache/camel/${src}/${VERSION}/"
 done
+echo
 
 echo "################################################################################"
 echo "                         RESET GROUP PERMISSIONS                                "
@@ -62,14 +63,14 @@
 # Make sure to give appropriate permissions to the camel group
 chown -R :camel ${DOWNLOAD}/${VERSION}
 chmod -R g+w ${DOWNLOAD}/${VERSION}
-echo "DONE"
+echo
 
 echo "################################################################################"
 echo "               MOVE DISTRO TO OFFICIAL APACHE MIRROR REPO                       "
 echo "################################################################################"
 # Move distro to the correct location
 mv "${DOWNLOAD}/${VERSION}/org/apache/camel/apache-camel/${VERSION}" "${DIST_DIR}/camel/apache-camel/"
-echo "DONE"
+echo
 
 echo "################################################################################"
 echo "                           PUBLISH CAMEL SCHEMAS                                "
@@ -77,8 +78,9 @@
 for comp in ${COMPLIST[*]}; do
   src=${comp%:*}
   dest=${comp#*:}
-  cp "${DOWNLOAD}/${VERSION}/org/apache/camel/${src}/${VERSION}/*.xsd" "${SITE_DIR}/${dest}/"
-  update_latest_released_schema("${SITE_DIR}/${dest}/")
+  cp ${DOWNLOAD}/${VERSION}/org/apache/camel/${src}/${VERSION}/*.xsd ${SITE_DIR}/schema/${dest}/
+  # update_latest_released_schema("${SITE_DIR}/schema/${dest}/")
 done
+echo
 
 echo "DONE"