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:
parent
6651f37287
commit
20c4a1150b
2 changed files with 2 additions and 2 deletions
2
Rakefile
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')} &&
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue