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