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