Skip to content

Commit

Permalink
Update rake tasks to push gem
Browse files Browse the repository at this point in the history
  • Loading branch information
macournoyer committed Feb 25, 2010
1 parent 2dc260b commit fc98d83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -36,4 +36,4 @@ task :ragel do
end

desc "Release version #{Thin::VERSION::STRING} gems to rubyforge"
task :release => [:clean, :cross, :native, :gem, :tag, "gem:upload"]
task :release => [:clean, :cross, :native, :gem, :tag, "gem:push"]
4 changes: 2 additions & 2 deletions tasks/gem.rake
Expand Up @@ -58,9 +58,9 @@ task :gem => :tag_warn

namespace :gem do
desc 'Upload gems to gemcutter.org'
task :push => :gem do
task :push do
Dir["pkg/#{Thin::GemSpec.full_name}*.gem"].each do |file|
puts "gem push #{file}"
sh "gem push #{file}"
end
end
end

0 comments on commit fc98d83

Please sign in to comment.