aboutsummaryrefslogblamecommitdiffstats
path: root/release.rb
blob: 2076515f0e61f427fcaa1312ddfc8aacc7e52e78 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                                                               
version = ARGV.pop

%w( activesupport activemodel activerecord activeresource actionpack actionmailer railties ).each do |framework|
  puts "Building and pushing #{framework}..."
  `cd #{framework} && gem build #{framework}.gemspec && gem push #{framework}-#{version}.gem && rm #{framework}-#{version}.gem`
end

puts "Building and pushing Rails..."
`gem build rails.gemspec`
`gem push rails-#{version}.gem`
`rm rails-#{version}.gem`