aboutsummaryrefslogblamecommitdiffstats
path: root/pushgems.rb
blob: 8eead862f4dac89a4baec2d7d3b5156e9b61416c (plain) (tree)
1
2
3
4
5
6
7
8



                                                                                                          
                                                                                                        

                                                             
   
#!/usr/local/bin/ruby

build_number = `svn log -q -rhead http://dev.rubyonrails.org/svn/rails`.scan(/r([0-9]*)/).first.first.to_i

(%w( actionwebservice actionmailer actionpack activerecord railties activesupport) - ARGV).each do |pkg|
  puts "Pushing: #{pkg} (#{build_number})"
  `cd #{pkg} && PKG_BUILD=#{build_number} rake pgem && cd ..`
end