aboutsummaryrefslogblamecommitdiffstats
path: root/pushgems.rb
blob: c8ccf5d474d07d0ecb7360508cdc051459e820f1 (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( actionmailer actionpack activerecord railties ) - ARGV).each do |pkg|
  puts "Pushing: #{pkg} (#{build_number})"
  `cd #{pkg} && PKG_BUILD=#{build_number} rake pgem && cd ..`
end