geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r405591 - /geronimo/gbuild/scripts/publish_build.sh
Date Wed, 10 May 2006 01:36:53 GMT
Author: dblevins
Date: Tue May  9 18:36:52 2006
New Revision: 405591

URL: http://svn.apache.org/viewcvs?rev=405591&view=rev
Log:
Missed a couple details.  Works now!

Modified:
    geronimo/gbuild/scripts/publish_build.sh

Modified: geronimo/gbuild/scripts/publish_build.sh
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/scripts/publish_build.sh?rev=405591&r1=405590&r2=405591&view=diff
==============================================================================
--- geronimo/gbuild/scripts/publish_build.sh (original)
+++ geronimo/gbuild/scripts/publish_build.sh Tue May  9 18:36:52 2006
@@ -35,6 +35,7 @@
 DIST=$PWD/dist
 
 #  Make the DIST directory if it isn't present
+rm -r $DIST
 test -d $DIST || mkdir $DIST
 
 #  The public repo url for geronimo
@@ -140,8 +141,7 @@
 	cp -r $DIST/${RELEASE_ID}* $VERSION_DIR || fail "Unable to upload the binaries to release
dir $VERSION_DIR"
     else 
 	SSH_URL=$REMOTE_HOST
-	(ssh $SSH_URL  mkdir $VERSION_DIR ) || fail "Unable to create the release dir $VERSION_DIR"
-	(scp $DIST/${RELEASE_ID}* $SSH_URL:$VERSION_DIR) || fail "Unable to upload the binaries
to release dir $VERSION_DIR"
+	(scp -r $DIST $SSH_URL:$VERSION_DIR) || fail "Unable to upload the binaries to release dir
$VERSION_DIR"
     fi
 
     #  Now we should be responsible and delete old nightly builds



Mime
View raw message