You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2012/11/07 09:11:55 UTC
svn commit: r1406488 - /buildr/trunk/rakelib/release.rake
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/"