Update Rakefile to work with newer version of rubyforge library

This commit is contained in:
Marcel Molina 2008-07-03 13:36:09 -05:00
Родитель c0b78c6604
Коммит d61a6a22fa
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -151,7 +151,7 @@ namespace :dist do
abort("Release #{spec.version} already exists!") if version_already_released.call
begin
rubyforge.add_release(spec.rubyforge_project, spec.name, spec.version, "#{package}.tar.gz", "#{package}.gem")
rubyforge.add_release(spec.rubyforge_project, spec.name, spec.version.to_s, "#{package}.tar.gz", "#{package}.gem")
puts "Version #{spec.version} released!"
rescue Exception => exception
puts 'Release failed!'