Author: donaldp
Date: Wed Nov 7 09:24:42 2012
New Revision: 1406509
URL: http://svn.apache.org/viewvc?rev=1406509&view=rev
Log:
Ensure that the group write bit is set for binary uploads
Modified:
buildr/trunk/rakelib/release.rake
Modified: buildr/trunk/rakelib/release.rake
URL:
http://svn.apache.org/viewvc/buildr/trunk/rakelib/release.rake?rev=1406509&r1=1406508&r2=1406509&view=diff
==============================================================================
--- buildr/trunk/rakelib/release.rake (original)
+++ buildr/trunk/rakelib/release.rake Wed Nov 7 09:24:42 2012
@@ -32,6 +32,7 @@ task 'release' do
sh 'ssh', host, 'rm', '-rf', remote_dir rescue nil
sh 'ssh', host, 'mkdir', remote_dir
sh 'rsync', '--progress', '--recursive', '--delete',
"_release/#{spec.version}/dist/", target
+ sh 'ssh', 'people.apache.org', 'chmod', '-f', '-R', 'g+w',
"#{remote_dir}/*"
puts '[X] Uploaded packages to www.apache.org/dist'
target = "people.apache.org:/www/#{spec.name}.apache.org/"