summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2011-03-03 22:01:42 -0800
committerAndre Arko <andre@arko.net>2011-03-03 22:01:42 -0800
commit6f49167fa319a4c1612129c3c7a7e61f192e7a56 (patch)
tree8923db72eebb5623392006396172741ab7dbd3eb /Rakefile
parent91e89f6d693420f42dcf9a14e94008e6bf205175 (diff)
downloadbundler-6f49167fa319a4c1612129c3c7a7e61f192e7a56.tar.gz
In further git genius, update tags before checking them out
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index d09dafec9d..f6378a1652 100644
--- a/Rakefile
+++ b/Rakefile
@@ -60,7 +60,7 @@ begin
namespace :rubygems do
# Rubygems 1.3.5, 1.3.6, and HEAD specs
rubyopt = ENV["RUBYOPT"]
- %w(master v1.3.6 v1.3.7 v1.4.0 v1.4.1 v1.5.0).each do |rg|
+ %w(master v1.3.6 v1.3.7 v1.4.2 v1.5.3 v1.6.1).each do |rg|
desc "Run specs with Rubygems #{rg}"
RSpec::Core::RakeTask.new(rg) do |t|
t.rspec_opts = %w(-fs --color)
@@ -72,6 +72,7 @@ begin
system("git clone git://github.com/rubygems/rubygems.git tmp/rubygems")
end
Dir.chdir("tmp/rubygems") do
+ system("git remote update")
system("git checkout #{rg}")
system("git pull origin master") if rg == "master"
end