lib/reap/project/rubyforge.rb in reap-9.3.1 vs lib/reap/project/rubyforge.rb in reap-9.3.3
- old
+ new
@@ -13,9 +13,14 @@
rubyforge_options[:dryrun] = dryrun?
rubyforge_options[:trace] = trace?
rubyforge_options[:project] = options['project'] || metadata.project
rubyforge_options[:username] = options['username'] || ENV['RUBYFORGE_USERNAME']
rubyforge_options[:group_id] = options['group']
+ rubyforge_options[:password] = options['password'] || ENV['RUBYFORGE_PASSWORD']
+
+ unless rubyforge_options[:password]
+ abort "Please provide --password=xxxxxxx."
+ end
Rubyforge.new(rubyforge_options)
end
# Release packages to rubyforge.