rakelib/release.rake in buildr4osgi-0.9.0 vs rakelib/release.rake in buildr4osgi-0.9.2
- old
+ new
@@ -43,9 +43,12 @@
end.call
# Upload binary and source packages to RubyForge.
lambda do
+ sh 'rubyforge', 'login'
+ # update rubyforge projects, processors, etc. in local config
+ sh 'rubyforge', 'config'
files = FileList["_release/#{spec.version}/dist/*.{gem,tgz,zip}"]
puts "Uploading #{spec.version} to RubyForge ... "
rubyforge = RubyForge.new.configure
rubyforge.login
rubyforge.userconfig.merge!('release_changes'=>"_release/#{spec.version}/CHANGES", 'preformatted' => true)