Skip to content

Commit

Permalink
Add release task.
Browse files Browse the repository at this point in the history
  • Loading branch information
hanshasselberg committed Jun 9, 2012
1 parent 7084bdf commit 272c38f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ task :install do
puts `gem install typhoeus-*.gem`
end

task :release => :build do
system "git tag -a v#{Typhoeus::VERSION} -m 'Tagging #{Typhoeus::VERSION}'"
system "git push --tags"
system "gem push typhoeus-#{Typhoeus::VERSION}.gem"
end

desc "Start up the test servers"
task :start_test_servers do
require 'spec/support/typhoeus_localhost_server'
Expand Down

0 comments on commit 272c38f

Please sign in to comment.