public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
dhh (author)
Tue Mar 22 04:13:36 -0800 2005
commit  e1ce18020e1c23c148060ec2180dc0ed794be06e
tree    1dfe8338ad00fea256c347c24cd56763032c39cf
parent  11a5492791e6ed467a73bf20e0c7b6828bf0a3e2
rails / pushgems.rb
100755 9 lines (6 sloc) 0.359 kb
1
2
3
4
5
6
7
8
9
#!/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} && rm -rf pkg && PKG_BUILD=#{build_number} rake pgem && cd ..`
end