diff --git a/tasks/release.rb b/tasks/release.rb index a136ff4b6e8..4c038f51f50 100644 --- a/tasks/release.rb +++ b/tasks/release.rb @@ -69,17 +69,3 @@ namespace :all do task :install => FRAMEWORKS.map { |f| "#{f}:install" } + ['rails:install'] task :push => FRAMEWORKS.map { |f| "#{f}:push" } + ['rails:push'] end - -__END__ -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` -