You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ps...@apache.org on 2006/07/30 19:37:11 UTC

svn commit: r426908 - /jakarta/commons/proper/commons-build/trunk/commons_nightly.sh

Author: psteitz
Date: Sun Jul 30 10:37:11 2006
New Revision: 426908

URL: http://svn.apache.org/viewvc?rev=426908&view=rev
Log:
Added some comments.

Modified:
    jakarta/commons/proper/commons-build/trunk/commons_nightly.sh

Modified: jakarta/commons/proper/commons-build/trunk/commons_nightly.sh
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/commons-build/trunk/commons_nightly.sh?rev=426908&r1=426907&r2=426908&view=diff
==============================================================================
--- jakarta/commons/proper/commons-build/trunk/commons_nightly.sh (original)
+++ jakarta/commons/proper/commons-build/trunk/commons_nightly.sh Sun Jul 30 10:37:11 2006
@@ -77,17 +77,26 @@
     # Deploy dated jar manually to maven 1 snapshot repo
     if [ -e "target/commons-$component-$time_stamp.jar" ] # build succeeded
     then 
+      # Create component directory in the repo if it does not exist
       ssh $maven_snapshot_host mkdir -p ${maven_snapshot_directory}/commons-$component/jars
+      
+      # Create checksum file
       md5sum -b target/commons-$component-$time_stamp.jar > \
       target/commons-$component-$time_stamp.jar.md5
+
+      # Upload files
       scp target/commons-$component-$time_stamp.jar \
       $deploy_user@$maven_snapshot_host:${maven_snapshot_directory}/commons-$component/jars
       scp target/commons-$component-$time_stamp.jar.md5 \
       $deploy_user@$maven_snapshot_host:${maven_snapshot_directory}/commons-$component/jars
+
+      # Update -SNAPSHOT symlink to point to latest jar
       ssh $maven_snapshot_host \
       "cd ${maven_snapshot_directory}/commons-$component/jars;\
       rm commons-$component-SNAPSHOT.jar;\
-      ln -s commons-$component-$time_stamp.jar commons-$component-SNAPSHOT.jar" 
+      ln -s commons-$component-$time_stamp.jar commons-$component-SNAPSHOT.jar"
+
+      # Make files group writable 
       ssh $maven_snapshot_host chmod -R g+w ${maven_snapshot_directory}/commons-$component
     fi
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org