Browse files

Added gemcutter releases

  • Loading branch information...
1 parent b1e4520 commit 3158f8fbb879dc2a2804b2e71938ea512d9110fc @drnic drnic committed Nov 16, 2009
Showing with 5 additions and 1 deletion.
  1. +5 −1 Rakefile
View
6 Rakefile
@@ -6,7 +6,7 @@ require './lib/choctop'
Hoe.plugin :newgem
-Hoe.spec 'choctop' do
+$hoe = Hoe.spec 'choctop' do
developer 'Dr Nic Williams', 'drnicwilliams@gmail.com'
developer 'Chris Bailey', 'chris@cobaltedge.com'
@@ -15,6 +15,10 @@ Hoe.spec 'choctop' do
extra_dev_deps << ['newgem', ">= #{::Newgem::VERSION}"]
end
+task :release do
+ sh "gem push pkg/#{$hoe.name}-#{$hoe.version}.gem"
+end
+
require 'newgem/tasks' # load /tasks/*.rake
Dir['tasks/**/*.rake'].each { |t| load t }

0 comments on commit 3158f8f

Please sign in to comment.