<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -19,6 +19,11 @@ namespace :git do
   task :hard_reset do
     git.hard_reset
   end
+  
+  desc &quot;Tag rspec-dev and sub-projects&quot;
+  task :tag do
+    git.tag
+  end
 end
 
 if git.plugins_fetched?</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -35,7 +35,7 @@ module RSpec
 
       repos.each do |r|
         puts &quot;** push #{r[:name]}&quot;
-        unless system(&quot;cd #{r[:path]} &amp;&amp; git push&quot;)
+        unless system(&quot;cd #{r[:path]} &amp;&amp; git push &amp;&amp; git push --tags&quot;)
           puts &quot;Error pushing #{r[:name]}&quot;
           exit 1
         end
@@ -80,6 +80,17 @@ module RSpec
         system &quot;cd #{r[:path]} &amp;&amp; git remote add #{ENV['NAME']} #{r[:url]}&quot;
       end
     end
+    
+    def tag
+      if ENV['TAG'].nil?
+        puts &quot;You must pass a tag. Try again like so:\n&quot; +
+          &quot;  TAG=1.1.4 rake git:tag&quot;
+        return
+      end
+      repos.each do |r|
+        system &quot;cd #{r[:path]} &amp;&amp; git tag #{ENV['TAG']}&quot;
+      end
+    end
 
     private
     def check_for_clean_repos(message)</diff>
      <filename>lib/rspec/git.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>aab827d06d49a694ea6d906fbb204d85c7e82231</id>
    </parent>
  </parents>
  <author>
    <name>David Chelimsky</name>
    <email>dchelimsky@gmail.com</email>
  </author>
  <url>http://github.com/dchelimsky/rspec-dev/commit/242c4d659a80d6f2791b87fe7f11b0e887dc5981</url>
  <id>242c4d659a80d6f2791b87fe7f11b0e887dc5981</id>
  <committed-date>2008-05-26T13:40:13-07:00</committed-date>
  <authored-date>2008-05-26T13:40:13-07:00</authored-date>
  <message>add git:tag task</message>
  <tree>9ce140c1c9368755a787000b80c1ae4349330e07</tree>
  <committer>
    <name>David Chelimsky</name>
    <email>dchelimsky@gmail.com</email>
  </committer>
</commit>
