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 \ [EMAIL PROTECTED]:${maven_snapshot_directory}/commons-$component/jars scp target/commons-$component-$time_stamp.jar.md5 \ [EMAIL PROTECTED]:${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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]