public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Search Repo:
NZKoz (author)
Thu Oct 11 14:56:19 -0700 2007
commit  f70b74a5bc4b5dbd415cf42a4a16a7ded173765e
tree    15a9ce635624e0524c8d362bb30bc62fe303b16e
parent  88f2284b32b5cc302d2b37c0ad3c2667d4c58c6a
rails / pushgems.rb
100755 14 lines (12 sloc) 0.49 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/local/bin/ruby
 
unless ARGV.first == "no_build"
  build_number = build_number = `svn log -q -rhead http://dev.rubyonrails.org/svn/rails`.scan(/r([0-9]*)/).first.first.to_i
end
 
%w( actionwebservice actionmailer actionpack activerecord railties activesupport ).each do |pkg|
  puts "Pushing: #{pkg} (#{build_number})"
  if build_number
    `cd #{pkg} && rm -rf pkg && PKG_BUILD=#{build_number} rake pgem && cd ..`
  else
    `cd #{pkg} && rm -rf pkg && rake pgem && cd ..`
  end
end