rakelib/rubyforge.rake in vic-buildr-1.3.1 vs rakelib/rubyforge.rake in vic-buildr-1.3.3
- old
+ new
@@ -39,9 +39,10 @@
task 'release'=>'published/rubyforge' do |task|
changes = FileList['published/CHANGES'].first
files = FileList['published/rubyforge/*.{gem,tgz,zip}'].exclude(changes).existing
print "Uploading #{spec.version} to RubyForge ... "
rubyforge = RubyForge.new
+ rubyforge.configure
rubyforge.login
rubyforge.userconfig.merge!('release_changes'=>changes, 'preformatted' => true) if changes
rubyforge.add_release spec.rubyforge_project.downcase, spec.name.downcase, spec.version.to_s, *files
puts 'Done'
end