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}"
|
puts "updated #{f.name}"
|
||||||
end
|
end
|
||||||
|
|
||||||
task 'release' => package('.gem') do
|
task 'release' => ['test', package('.gem')] do
|
||||||
sh <<-SH
|
sh <<-SH
|
||||||
gem install #{package('.gem')} --local &&
|
gem install #{package('.gem')} --local &&
|
||||||
gem push #{package('.gem')} &&
|
gem push #{package('.gem')} &&
|
||||||
|
|
|
@ -7,7 +7,7 @@ require 'sinatra/showexceptions'
|
||||||
require 'tilt'
|
require 'tilt'
|
||||||
|
|
||||||
module Sinatra
|
module Sinatra
|
||||||
VERSION = '1.2.0.b'
|
VERSION = '1.2.0.c'
|
||||||
|
|
||||||
# The request object. See Rack::Request for more info:
|
# The request object. See Rack::Request for more info:
|
||||||
# http://rack.rubyforge.org/doc/classes/Rack/Request.html
|
# http://rack.rubyforge.org/doc/classes/Rack/Request.html
|
||||||
|
|
Loading…
Add table
Reference in a new issue