[Rake-devel] MetaProject

aslak hellesoy aslak.hellesoy at gmail.com
Thu Sep 1 20:57:57 EDT 2005

Hi all,

(I also sent this to the RubyGems list)

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[

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)

Would you consider mentioning this in the Rake documentation?


More information about the Rake-devel mailing list