Skip to content

Commit d2f6854

Browse files
committed
Remove publish task - Bundler ships with one in tree
1 parent 437a79c commit d2f6854

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

Rakefile

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ def command?(command)
1111
system("type #{command} > /dev/null 2>&1")
1212
end
1313

14+
require 'rubygems'
15+
require 'bundler/setup'
16+
require 'bundler/gem_tasks'
17+
1418

1519
#
1620
# Tests
@@ -51,20 +55,3 @@ begin
5155
require 'sdoc_helpers'
5256
rescue LoadError
5357
end
54-
55-
56-
#
57-
# Publishing
58-
#
59-
60-
desc "Push a new version to Gemcutter"
61-
task :publish do
62-
require 'resque/version'
63-
64-
sh "gem build resque.gemspec"
65-
sh "gem push resque-#{Resque::Version}.gem"
66-
sh "git tag v#{Resque::Version}"
67-
sh "git push origin v#{Resque::Version}"
68-
sh "git push origin master"
69-
sh "git clean -fd"
70-
end

0 commit comments

Comments
 (0)