Permalink
Browse files

Remove publish task - Bundler ships with one in tree

  • Loading branch information...
1 parent 437a79c commit d2f6854ddaebfc859a4ed2fd62f52794f7a491f4 @maclover7 maclover7 committed Feb 7, 2016
Showing with 4 additions and 17 deletions.
  1. +4 −17 Rakefile
View
@@ -11,6 +11,10 @@ def command?(command)
system("type #{command} > /dev/null 2>&1")
end
+require 'rubygems'
+require 'bundler/setup'
+require 'bundler/gem_tasks'
+
#
# Tests
@@ -51,20 +55,3 @@ begin
require 'sdoc_helpers'
rescue LoadError
end
-
-
-#
-# Publishing
-#
-
-desc "Push a new version to Gemcutter"
-task :publish do
- require 'resque/version'
-
- sh "gem build resque.gemspec"
- sh "gem push resque-#{Resque::Version}.gem"
- sh "git tag v#{Resque::Version}"
- sh "git push origin v#{Resque::Version}"
- sh "git push origin master"
- sh "git clean -fd"
-end

0 comments on commit d2f6854

Please sign in to comment.