public
Fork of rails/rails
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/JackDanger/rails.git
clemens (author)
Thu Aug 07 11:13:47 -0700 2008
josh (committer)
Thu Aug 07 11:13:47 -0700 2008
commit  105093f90728f81268367bd52581fccfa165f170
tree    3ca826186b5fdcce8708445eb9283743f645034d
parent  be0d235a3b82e72de49592913753a1f291a98f86
rails / pushgems.rb
100755 14 lines (12 sloc) 0.416 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env ruby
 
unless ARGV.first == "no_build"
  build_number = Time.now.strftime("%Y%m%d%H%M%S").to_i
end
 
%w( activeresource 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