root/tags/rel_0-14-3/pushgems.rb
| Revision 2128, 489 bytes (checked in by david, 3 years ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | #!/usr/local/bin/ruby |
| 2 | |
| 3 | unless ARGV.first == "no_build" |
| 4 | build_number = build_number = `svn log -q -rhead http://dev.rubyonrails.org/svn/rails`.scan(/r([0-9]*)/).first.first.to_i |
| 5 | end |
| 6 | |
| 7 | %w( actionwebservice actionmailer actionpack activerecord railties activesupport ).each do |pkg| |
| 8 | puts "Pushing: #{pkg} (#{build_number})" |
| 9 | if build_number |
| 10 | `cd #{pkg} && rm -rf pkg && PKG_BUILD=#{build_number} rake pgem && cd ..` |
| 11 | else |
| 12 | `cd #{pkg} && rm -rf pkg && rake pgem && cd ..` |
| 13 | end |
| 14 | end |
Note: See TracBrowser for help on using the browser.