1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove broken and unused release task

- We do release with release.rb
- There is no `rake/gemcutter`
This commit is contained in:
Arun Agrawal 2015-05-22 14:30:30 +02:00
parent 1214f0b74f
commit 4194d052d8
8 changed files with 0 additions and 60 deletions

View file

@ -26,10 +26,3 @@ spec = eval(File.read('actionmailer.gemspec'))
Gem::PackageTask.new(spec) do |p|
p.gem_spec = spec
end
desc "Release to rubygems"
task release: :package do
require 'rake/gemcutter'
Rake::Gemcutter::Tasks.new(spec).define
Rake::Task['gem:push'].invoke
end

View file

@ -30,13 +30,6 @@ Gem::PackageTask.new(spec) do |p|
p.gem_spec = spec
end
desc "Release to rubygems"
task :release => :package do
require 'rake/gemcutter'
Rake::Gemcutter::Tasks.new(spec).define
Rake::Task['gem:push'].invoke
end
task :lines do
load File.expand_path('..', File.dirname(__FILE__)) + '/tools/line_statistics'
files = FileList["lib/**/*.rb"]

View file

@ -51,13 +51,6 @@ Gem::PackageTask.new(spec) do |p|
p.gem_spec = spec
end
desc "Release to rubygems"
task :release => :package do
require 'rake/gemcutter'
Rake::Gemcutter::Tasks.new(spec).define
Rake::Task['gem:push'].invoke
end
task :lines do
lines, codelines, total_lines, total_codelines = 0, 0, 0, 0

View file

@ -81,10 +81,3 @@ spec = eval(File.read('activejob.gemspec'))
Gem::PackageTask.new(spec) do |p|
p.gem_spec = spec
end
desc 'Release to rubygems'
task release: :package do
require 'rake/gemcutter'
Rake::Gemcutter::Tasks.new(spec).define
Rake::Task['gem:push'].invoke
end

View file

@ -27,10 +27,3 @@ spec = eval(File.read("#{dir}/activemodel.gemspec"))
Gem::PackageTask.new(spec) do |p|
p.gem_spec = spec
end
desc "Release to rubygems"
task :release => :package do
require 'rake/gemcutter'
Rake::Gemcutter::Tasks.new(spec).define
Rake::Task['gem:push'].invoke
end

View file

@ -157,12 +157,3 @@ spec = eval(File.read('activerecord.gemspec'))
Gem::PackageTask.new(spec) do |p|
p.gem_spec = spec
end
# Publishing ------------------------------------------------------
desc "Release to rubygems"
task :release => :package do
require 'rake/gemcutter'
Rake::Gemcutter::Tasks.new(spec).define
Rake::Task['gem:push'].invoke
end

View file

@ -23,10 +23,3 @@ spec = eval(File.read('activesupport.gemspec'))
Gem::PackageTask.new(spec) do |p|
p.gem_spec = spec
end
desc "Release to rubygems"
task :release => :package do
require 'rake/gemcutter'
Rake::Gemcutter::Tasks.new(spec).define
Rake::Task['gem:push'].invoke
end

View file

@ -39,12 +39,3 @@ spec = eval(File.read('railties.gemspec'))
Gem::PackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end
# Publishing -------------------------------------------------------
desc "Release to rubygems"
task :release => :package do
require 'rake/gemcutter'
Rake::Gemcutter::Tasks.new(spec).define
Rake::Task['gem:push'].invoke
end