Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

root/tags/rel_0-10-1/pushgems.rb

Revision 676, 345 bytes (checked in by david, 4 years ago)

More Action Web Service minor tweaks

  • Property svn:executable set to *
Line 
1 #!/usr/local/bin/ruby
2
3 build_number = `svn log -q -rhead http://dev.rubyonrails.org/svn/rails`.scan(/r([0-9]*)/).first.first.to_i
4
5 (%w( actionwebservice actionmailer actionpack activerecord railties activesupport) - ARGV).each do |pkg|
6   puts "Pushing: #{pkg} (#{build_number})"
7   `cd #{pkg} && PKG_BUILD=#{build_number} rake pgem && cd ..`
8 end
Note: See TracBrowser for help on using the browser.