We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9480f1 commit d493528Copy full SHA for d493528
Rakefile
@@ -37,19 +37,11 @@ end
37
38
39
#
40
-# Gem
+# Install
41
42
43
task :install => [ 'redis:install', 'dtach:install' ]
44
45
-begin
46
- require 'mg'
47
- MG.new("resque.gemspec")
48
-rescue LoadError
49
- warn "mg not available."
50
- warn "Install it with: gem i mg"
51
-end
52
-
53
54
55
# Documentation
@@ -67,9 +59,11 @@ end
67
59
68
60
69
61
desc "Push a new version to Gemcutter"
70
-task :publish => "gem:publish" do
62
+task :publish do
71
63
require 'resque/version'
72
64
65
+ sh "gem build resque.gemspec"
66
+ sh "gem push resque-#{Resque::Version}.gem"
73
sh "git tag v#{Resque::Version}"
74
sh "git push origin v#{Resque::Version}"
75
sh "git push origin master"
0 commit comments