Skip to content

Commit

Permalink
Added rake task gem:push
Browse files Browse the repository at this point in the history
  • Loading branch information
Matias Hermanrud Fjeld committed Apr 7, 2010
1 parent af1e117 commit 515cef4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Rakefile
Expand Up @@ -5,3 +5,9 @@ CLOBBER << Rake::FileList["autobahn-*.gem"]
task :gem do
sh 'gem', 'build', 'autobahn.gemspec'
end

namespace :gem do
task :push => :gem do
sh 'gem', 'push', "autobahn-#{%x{git describe --tag}.chomp.sub(/^v/, '')}.gem"
end
end

0 comments on commit 515cef4

Please sign in to comment.