Skip to content
Browse files

do not allow release if tests don't pass

  • Loading branch information...
1 parent 6651f37 commit 20c4a1150b749954c27e0b13af5c4623f6178af8 @rkh rkh committed Feb 19, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 Rakefile
  2. +1 −1 lib/sinatra/base.rb
View
2 Rakefile
@@ -123,7 +123,7 @@ if defined?(Gem)
puts "updated #{f.name}"
end
- task 'release' => package('.gem') do
+ task 'release' => ['test', package('.gem')] do
sh <<-SH
gem install #{package('.gem')} --local &&
gem push #{package('.gem')} &&
View
2 lib/sinatra/base.rb
@@ -7,7 +7,7 @@
require 'tilt'
module Sinatra
- VERSION = '1.2.0.b'
+ VERSION = '1.2.0.c'
# The request object. See Rack::Request for more info:
# http://rack.rubyforge.org/doc/classes/Rack/Request.html

0 comments on commit 20c4a11

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