[Rubygems-developers] MetaProject
aslak hellesoy
aslak.hellesoy at gmail.com
Thu Sep 1 20:55:17 EDT 2005
Hi all,
The past month I've been working on a project (MetaProject:
http://xforge.rubyforge.org/) that among other things includes a quick
release system (QRS) for (among other places) RubyForge.
With MetaProject's Rake task, releasing new gems on RubyForge is a breeze:
task :release_files => [:gem] do
release_files = FileList[
"pkg/#{PKG_FILE_NAME}.gem"
]
Rake::XForge::Release.new(MetaProject::Project::XForge::RubyForge.new('xforge'))
do |release|
# Never hardcode user name and password in the Rakefile!
release.user_name = ENV['RUBYFORGE_USER']
release.password = ENV['RUBYFORGE_PASSWORD']
release.files = release_files.to_a
release.release_name = "MetaProject #{PKG_VERSION}"
# The rest of the options are defaults (among others,
release_notes and release_changes, parsed from CHANGES)
end
end
Would you consider mentioning this in the RubyGems documentation?
Cheers,
Aslak
More information about the Rubygems-developers
mailing list