buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject svn commit: r1406488 - /buildr/trunk/rakelib/release.rake
Date Wed, 07 Nov 2012 08:11:55 GMT
Author: donaldp
Date: Wed Nov  7 08:11:55 2012
New Revision: 1406488

URL: http://svn.apache.org/viewvc?rev=1406488&view=rev
Log:
Start removing old artifacts as part of the release process

Modified:
    buildr/trunk/rakelib/release.rake

Modified: buildr/trunk/rakelib/release.rake
URL: http://svn.apache.org/viewvc/buildr/trunk/rakelib/release.rake?rev=1406488&r1=1406487&r2=1406488&view=diff
==============================================================================
--- buildr/trunk/rakelib/release.rake (original)
+++ buildr/trunk/rakelib/release.rake Wed Nov  7 08:11:55 2012
@@ -31,7 +31,7 @@ task 'release' do
     host, remote_dir = target.split(':')
     sh 'ssh', host, 'rm', '-rf', remote_dir rescue nil
     sh 'ssh', host, 'mkdir', remote_dir
-    sh 'rsync', '--progress', '--recursive', "_release/#{spec.version}/dist/", target
+    sh 'rsync', '--progress', '--recursive', '--delete', "_release/#{spec.version}/dist/",
target
     puts '[X] Uploaded packages to www.apache.org/dist'
 
     target = "people.apache.org:/www/#{spec.name}.apache.org/"



Mime
View raw message