<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -16,3 +16,22 @@ Hoe.new('rspec-rails', Spec::Rails::VERSION::STRING) do |p|
   p.rubyforge_name = 'rspec'
   p.developer('RSpec Development Team', 'rspec-devel@rubyforge.org')
 end
+
+['audit','test','test_deps','default','publish_docs','post_blog', 'release'].each do |task|
+  Rake.application.instance_variable_get('@tasks').delete(task)
+end
+
+task :release =&gt; [:clean, :package] do |t|
+  version = ENV[&quot;VERSION&quot;] or abort &quot;Must supply VERSION=x.y.z&quot;
+  abort &quot;Versions don't match #{version} vs #{Spec::Rails::VERSION::STRING}&quot; unless version == Spec::Rails::VERSION::STRING
+  pkg = &quot;pkg/rspec-rails-#{version}&quot;
+
+  rubyforge = RubyForge.new.configure
+  puts &quot;Logging in to rubyforge ...&quot;
+  rubyforge.login
+
+  puts &quot;Releasing rspec-rails version #{version} ...&quot;
+  [&quot;#{pkg}.gem&quot;, &quot;#{pkg}.tgz&quot;].each do |file|
+    rubyforge.add_file('rspec', 'rspec', Spec::Rails::VERSION::STRING, file)
+  end
+end
\ No newline at end of file</diff>
      <filename>Rakefile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e9ecb0cd231375964cecea59ee16c189d3673d3d</id>
    </parent>
  </parents>
  <author>
    <name>David Chelimsky</name>
    <email>dchelimsky@gmail.com</email>
  </author>
  <url>http://github.com/dchelimsky/rspec-rails/commit/3762099dd431c7ec825ca7bf68ddd75702d8d73a</url>
  <id>3762099dd431c7ec825ca7bf68ddd75702d8d73a</id>
  <committed-date>2008-07-02T20:40:56-07:00</committed-date>
  <authored-date>2008-07-02T20:40:56-07:00</authored-date>
  <message>add release task</message>
  <tree>c79d014540a6418707b1f65fe9647967f0a76238</tree>
  <committer>
    <name>David Chelimsky</name>
    <email>dchelimsky@gmail.com</email>
  </committer>
</commit>
