Skip to content

Commit

Permalink
Remove the old gem release task
Browse files Browse the repository at this point in the history
  • Loading branch information
carllerche committed Nov 17, 2010
1 parent 2738ec8 commit 7e4f9db
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions Rakefile
Expand Up @@ -3,7 +3,6 @@ require 'rdoc'

require 'rake'
require 'rdoc/task'
require 'rake/gempackagetask'
require 'net/http'

# RDoc skips some files in the Rails tree due to its binary? predicate. This is a quick
Expand Down Expand Up @@ -55,27 +54,6 @@ task :smoke do
system %(cd activerecord && #{$0} sqlite3:isolated_test)
end

spec = eval(File.read('rails.gemspec'))
Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end

desc "Release all gems to gemcutter. Package rails, package & push components, then push rails"
task :release => :release_projects do
require 'rake/gemcutter'
Rake::Gemcutter::Tasks.new(spec).define
Rake::Task['gem:push'].invoke
end

desc "Release all components to gemcutter."
task :release_projects => :package do
errors = []
PROJECTS.each do |project|
system(%(cd #{project} && #{$0} release)) || errors << project
end
fail("Errors in #{errors.join(', ')}") unless errors.empty?
end

desc "Install gems for all projects."
task :install => :gem do
version = File.read("RAILS_VERSION").strip
Expand Down

0 comments on commit 7e4f9db

Please sign in to comment.