public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
dhh (author)
Sun Mar 06 03:56:22 -0800 2005
commit  fe6d929bf03650382db06ed63a199f9baa79102d
tree    bc2603b4d353e2eecf071ca84e23d8f97e1a6083
parent  5e44eda7872c6ee33e0d09a4b9fd78896e14b95a
rails / pushgems.rb
100755 9 lines (6 sloc) 0.345 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} && PKG_BUILD=#{build_number} rake pgem && cd ..`
end