1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

do not allow release if tests don't pass

This commit is contained in:
Konstantin Haase 2011-02-19 22:39:38 +01:00
parent 6651f37287
commit 20c4a1150b
2 changed files with 2 additions and 2 deletions

View file

@ -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 file

@ -7,7 +7,7 @@ require 'sinatra/showexceptions'
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