tasks/rubyforge.rake in ludy-0.1.13 vs tasks/rubyforge.rake in ludy-0.1.15
- old
+ new
@@ -1,6 +1,5 @@
-# $Id$
if PROJ.rubyforge.name.valid? && HAVE_RUBYFORGE
require 'rubyforge'
require 'rake/contrib/sshpublisher'
@@ -15,10 +14,11 @@
if $DEBUG then
puts "release_id = rf.add_release #{PROJ.rubyforge.name.inspect}, #{PROJ.name.inspect}, #{PROJ.version.inspect}, \"#{pkg}.tgz\""
puts "rf.add_file #{PROJ.rubyforge.name.inspect}, #{PROJ.name.inspect}, release_id, \"#{pkg}.gem\""
end
- rf = RubyForge.new.configure
+ rf = RubyForge.new
+ rf.configure rescue nil
puts 'Logging in'
rf.login
c = rf.userconfig
c['release_notes'] = PROJ.description if PROJ.description