tasks/rubyforge.rake in webby-0.7.1 vs tasks/rubyforge.rake in webby-0.7.2
- old
+ new
@@ -43,10 +43,10 @@
File.read(File.expand_path('~/.rubyforge/user-config.yml'))
)
host = "#{config['username']}@rubyforge.org"
remote_dir = "/var/www/gforge-projects/#{PROJ.rubyforge_name}/"
- remote_dir << PROJ.rdoc_remote_dir || PROJ.name
+ remote_dir << PROJ.rdoc_remote_dir if PROJ.rdoc_remote_dir
local_dir = PROJ.rdoc_dir
Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload
end
end # namespace :doc