GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
commit  ee662e9768f3682389daaa54d38c3e46cdcd4408
tree    e98164fe1659358726b4ff30a6fab9ecc3abab8e
parent  c37e8d365b9470a593668476fc9be0af6da2e812
rails / pushgems.rb
100755 8 lines (6 sloc) 0.314 kb
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