diff --git a/Rakefile b/Rakefile index 68854cf..76e3539 100644 --- a/Rakefile +++ b/Rakefile @@ -33,18 +33,3 @@ desc "Run RSpec code examples" RSpec::Core::RakeTask.new(:spec) do |t| t.pattern = "./spec/**/*_spec.rb" end - -namespace :gem do - desc "Release to rubygems" - task :release do - require File.expand_path('lib/truncate_html/version', File.dirname(__FILE__)) - version = TruncateHtml::VERSION - message = "Bump to version #{version}" - system "git tag -a -m '#{message}' v#{version}" - system "git push origin master" - system "git push origin $(git tag | tail -1)" - system "gem build truncate_html.gemspec" - system "gem push truncate_html-#{version}.gem" - system "rm truncate_html-#{version}.gem" - end -end