Skip to content
Browse files

rake publish task

  • Loading branch information...
1 parent 7cf88e2 commit aab4c505fc5e1473352b9485f666066471b93329 @defunkt defunkt committed
Showing with 10 additions and 0 deletions.
  1. +10 −0 Rakefile
View
10 Rakefile
@@ -49,3 +49,13 @@ begin
rescue LoadError
puts "sdoc support not enabled. Please gem install sdoc-helpers."
end
+
+desc "Push a new version to Gemcutter"
+task :publish => [ :test, :gemspec, :build ] do
+ system "git tag v#{Resque::Version}"
+ system "git push origin v#{Resque::Version}"
+ system "git push origin master"
+ system "gem push pkg/resque-#{Resque::Version}.gem"
+ system "git clean -fd"
+ exec "rake pages"
+end

0 comments on commit aab4c50

Please sign in to comment.
Something went wrong with that request. Please try again.