You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by to...@apache.org on 2016/09/19 06:36:28 UTC

[6/6] buildr git commit: fix the release task to use the dev SVN

fix the release task to use the dev SVN


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/74e4509a
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/74e4509a
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/74e4509a

Branch: refs/heads/master
Commit: 74e4509a072ba6212b9be57df69135f1a542836c
Parents: 221e83d
Author: Antoine Toulme <an...@lunar-ocean.com>
Authored: Sun Sep 18 23:36:12 2016 -0700
Committer: Antoine Toulme <an...@lunar-ocean.com>
Committed: Sun Sep 18 23:36:12 2016 -0700

----------------------------------------------------------------------
 rakelib/release.rake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/74e4509a/rakelib/release.rake
----------------------------------------------------------------------
diff --git a/rakelib/release.rake b/rakelib/release.rake
index 91e369f..6872324 100644
--- a/rakelib/release.rake
+++ b/rakelib/release.rake
@@ -20,9 +20,9 @@ task 'release' do |task, args|
   # First, we need to get all the staged files from Apache to _release.
   mkpath '_release'
   lambda do
-    url = "home.apache.org:~/public_html/#{spec.name}/#{spec.version}"
+    url = "https://dist.apache.org/repos/dist/dev/buildr/#{spec.version}"
     puts "Populating _release directory from #{url} ..."
-    sh "lftp -e \"mirror public_html/#{spec.name}/#{spec.version} _release/#{spec.version}; bye\" -u #{user} sftp://home.apache.org" 
+    sh "svn co #{url} _release/#{spec.version}" 
     puts '[X] Staged files are now in _release'
   end.call